justc0de / imagepuzzle

Browser based sliding image puzzle game
http://justc0de.github.io/imagepuzzle/
9 stars 3 forks source link

Integrate with photo service? #38

Open bobbyrne01 opened 10 years ago

bobbyrne01 commented 10 years ago

@dillbyrne what do you think about implementing something like this? Any services you think might be good? I like the flickr option because our app would be listed on flickr, a way of generating traffic.

flickr

https://www.flickr.com/services/apps/about/ "The App Garden is a place where developers can showcase the applications they've created and where you can find new ways to explore Flickr." Candidate API, using a valid api key, services/api/flickr.interestingness.getList

  1. Get a photo list

    https://api.flickr.com/services/rest/?method=flickr.interestingness.getList&api_key=0c1cd5ed45e07e03fbdf0d81d5e19914&format=json&nojsoncallback=1&api_sig=d7997f60d035c977cf590bbc8cf22cb8

  2. Get url of each returned photo, and use largest size in game

    https://api.flickr.com/services/rest/?method=flickr.photos.getSizes&api_key=0c1cd5ed45e07e03fbdf0d81d5e19914&photo_id=14197526038&format=json&nojsoncallback=1&api_sig=e8706bd89844b11d8855b91148b2ce8a

    imgur

https://api.imgur.com/ imgur offer an api but no 'app market'

dillbyrne commented 10 years ago

@bobbyrne01 Its a good idea . We would have to look into the traffic limits on google app engine in that case.

I have no particular preference as to which service(s) to add

bobbyrne01 commented 10 years ago

Yeah traffic limits will always be a concern as popularity grows.

We've plenty of room for traffic on app engine, we're using 0% of our free quota currently and billing is disabled in case we ever go over limits.

dillbyrne commented 10 years ago

@bobbyrne01 Cool. Well then we could look at integrating the flickr api at some point as you seem to have a preference for that one