Personal tools

Gallery3:API:Flickr

From Gallery Codex

We're building a new API based on the [Flickr API]. To figure out scope, we'll be picking a few popular Flickr API clients, analyzing what API calls and transports they use, and building endpoints as a module in Gallery 3 so that these clients can work with Gallery 3 just by changing the API endpoints that they use.

Notable Details

Flickr uses "keys" that are application specific, and has "shared secrets" that are associated with keys and required for some API calls

Flickr client config is the api key and shared secret. API entry points are coded into libraries somewhere but can be changed in some implementations ($f->REST = "http://foo/entry" in one of the php clients)

Method calls are named flickr.*. We should call our subset gallery3.* but should also respond to flickr.* calls

We should treat photosets as albums, Flickr doesn't support nesting so we would use path for title and use Gallery's auto url stuff. ex: "Spring Break/2009/Awesome Stuff" would be a collection title, that would be come spring_break/2009/awesome_stuff on G3