Safe Haskell | None |
---|---|
Language | Haskell98 |
Functions for accessing the Picasa API, see https://developers.google.com/picasa-web/docs/2.0/developers_guide_protocol.
- type UserId = String
- defaultUser :: UserId
- type AlbumId = String
- listAlbums :: AccessToken -> UserId -> IO Element
- listPhotos :: AccessToken -> UserId -> [AlbumId] -> IO Element
Types
Default Picasa user ID
Functions
:: AccessToken | The OAuth 2.0 access token. |
-> UserId | The user ID for the photos. |
-> IO Element | The action returning the albums metadata in XML format. |
List the albums, see https://developers.google.com/picasa-web/docs/2.0/developers_guide_protocol#ListAlbums.
:: AccessToken | The OAuth 2.0 access token. |
-> UserId | The user ID for the photos. |
-> [AlbumId] | The album ID for the photos, or all photos if null. |
-> IO Element | The action returning the photo metadata in XML format. |
List the photos in albums, see https://developers.google.com/picasa-web/docs/2.0/developers_guide_protocol#ListAlbumPhotos.