The Smugmug Module allows you to access items in your templates via the Smugmug JSON API