Some new examples

80 views
Skip to first unread message

Nick Nguyen

unread,
Aug 17, 2012, 6:27:41 PM8/17/12
to humanio...@googlegroups.com
Hello human.io developers,

I thought it'd be useful to share some more complex examples of micro-apps, so I've attached source code for Photo Bundle, Visual Search, and Ratings micro-apps.  Photo Bundle and Visual Search are a good example of some photo sharing tools that you can quickly write and prototype. 

Ratings uses the foursquare api and our geolocation feature (you'll need to easy_install foursquare) to look up nearby restaurants and photos of those restaurants. It also uses the ratings widget to allow users to submit food ratings. 

All of them use a call to human_id to return a id that uniquely identifies an installed instance of the client.

You can run Photo Bundle and Visual Search right away by simply running the script contained in each zip file.  Ratings.py will require you to edit the rating.py file to add your foursquare client id and secret, which you can apply for here:  https://foursquare.com/oauth/

All three archives include an sqlite database that the micro-app uses to store data. You'll have to unpack each archive in the same directory for the examples to work properly.

Try them out and please let me know if you have questions.  Thanks!

-n.
visualsearch.zip
photobundle.zip
ratings.zip

Samuel Carlisle

unread,
Sep 25, 2012, 9:20:18 PM9/25/12
to humanio...@googlegroups.com
I am going to be trying all the examples, including these and noting down my thoughts. Thanks for packaging them / sharing them.

Sam
Reply all
Reply to author
Forward
0 new messages