SmugMug Python API
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"])
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.