[ANN]: Flickr API Wrapper

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ANN]: Flickr API Wrapper

Sean P. DeNigris
Administrator
I started a little wrapper. It does a few basic things. Enjoy!

Gofer it
        smalltalkhubUser: 'SeanDeNigris' project: 'Flickr';
        configuration;
        loadDevelopment.

"Global setup"
Flickr
        userID: myUserID;
        apiKey: myApiKey.

"Generic usage"
Flickr new
        set: 'photo_id' to: '4975793876';
        get: 'flickr.photos.getInfo'.

"Smalltalk model"
(FlickrUser named: 'Rebel Shea') id.

"This won''t work because we need to exclude our user_id... not sure how to proceed"
(FlickrUser fromUrl: 'https://www.flickr.com/photos/rebelshea/4975793876' asUrl) id.
Cheers,
Sean