Flickr API Wrapper

Sean 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.
Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: