An open API service indexing awesome lists of open source software.

https://github.com/nitin42/django-snapbook

howto: API + Django (Search, Templates)
https://github.com/nitin42/django-snapbook

Last synced: 3 months ago
JSON representation

howto: API + Django (Search, Templates)

Awesome Lists containing this project

README

        

#django-snapbook

This django app takes photos from common social API's. It is still undergoing testing, check back for updates to this repository.

Setup
-----
To use this, first install the following

$ pip install django, python-instagram, flickrapi, python-twitter

Sign up for the developer access keys at each website.

- Instagram [http://instagram.com/developer/clients/manage/]
- Tumblr [http://bestpracticesfororgs.tumblr.com/API]
- Pearson Dictionaries API [http://developer.pearson.com/apis]
- NY Times API [http://developer.nytimes.com/docs]

Others

- Wikipedia [http://www.mediawiki.org/wiki/API]
- Twitter [https://dev.twitter.com/]
- Flickr [http://www.flickr.com/services/api/]

Rename views_example.py to views.py and plop in your developer keys.

Usage
-----

Replace key strings with yours. Then use this bash prompt command to start server locally

$ python manage.py runserver

More details
-----
SpeakerDeck for an overview of the structure:
https://speakerdeck.com/katychuang/nyc-pyladies-talk-5-dot-2-2013

#How might you use this app?
In essence, it's an educational tool. Here are some examples of usage:

##1. Style Words = wingtip, french cuff, shabby chic
A popular shoe style coming into trend is "wingtip" and often known as an oxford shoe. WIth the app, you can search for this term and see that it isn't an official word in a dictionary but people refer to this style, as shown by the images and the news articles.

Similarly, the trend known as "french cuff" is coming into season. It typically refers to a type of sleeve cuff for mens dress shirt. But this term can also refer to extravagant choker necklaces.

Another style, shabby chic, is mainly a concept for interior decorating. It is something that people like to share pictures of as evidence by pictures of various parts of peoples homes, all with floral theme.

##2. Concepts = euphoria
A picture dictionary can best be tested with a "concept" word that can connect with the viewer visually. You can see from the pictures that people consider bright colors as an aspect of euphoria. One person believes starbucks frappacino to be a euphoric.. potentially an angle of using a picture dictionary based on social API is to show marketing terms and colors that could be used in advertisements.

##3. People = honey boo boo, jay-z
Some people receive a great deal of fame shortly after appearing on a reality tv show. This use case was to show how one such reality star is a recognizable entity on social media and a newspaper website. The dictionary does not yet recognize this person. The person's nick name brings out mostly opion articles.

There exists a famous rapper from NYC. The dictionary recognizes his name (though not part of speech), Tumblr users share flattering photos of this person, and the news paper has articles about this celebrity in connection with events cush as "Global Poverty Project benefit concert"

##4. Cats
Internet and cats are synonymous. This last usecase was to show the connection between "cat" images and news articles. Would the everyday tumblr user consider the concept the same as the official definition, and would that overlap with professional journalists' use of the terms? When a friend looked at the results he pointed out the article on bipolar disorder. His words, "I'm not surprised by this connection."