|
|
An Erlang client for the SmugMug API. This is a work in progress and not meant in any way to be production quality code -- yet.
To try it out, create a file named erlsmug.config of the form:
[{erlsmug,[{smugmug_credentials,
{login_with_hash, APIKEY, USERID, PASSWORDHASH}}
]}].then at the command line:
$ erl -make
$ erl -pa ebin/ -config erlsmug.config
1> erlsmug:start().
2> erlsmug:albums_get().
3> [dict:fetch("id", X) || X <- dict:fetch("Albums", erlsmug:albums_get())].and you should see a list of your albums and then a list of album ids.
