Skip to content

Instantly share code, notes, and snippets.

@pbapi
Created December 21, 2011 02:46
Show Gist options
  • Save pbapi/1504323 to your computer and use it in GitHub Desktop.
Save pbapi/1504323 to your computer and use it in GitHub Desktop.
PeopleBrowsr - Kredentials API
import urllib2
app_id = "[app_id]"
app_key = "[app_key]"
source = "twitter"
term = "peoplebrowsr"
url = 'http://api.kred.ly/kredentials?'
url = url + "app_id=" + app_id
url = url + "&app_key=" + app_key
url = url + "&source=" + source
url = url + "&term=" + term
response = urllib2.urlopen( url ).read()
print response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment