SmugMug Python API
Project DescriptionRelease History Download Files
The SmugMug API lets to you access your albums, photos, and videos, and much more. See http://wiki.smugmug.net/display/API/ for more information.
from smugpy import SmugMug API_KEY = "XXXXXXXXXXXXXXXXXXXXXXXXX" smugmug = SmugMug(api_key=API_KEY, app_name="TestApp") smugmug.login_anonymously() albums = smugmug.albums_get(NickName="williams") for album in albums["Albums"]: print "%s, %s" % (album["id"], album["Title"])