Skip to content

esteve/PeerIndex-Python-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

PeerIndexPy

A Python interface for the PeerIndex API.

To use this you need a PeerIndex API key, which you can get at: http://dev.peerindex.com/

How to use it

Download the PeerIndexPy.py file and import it in python by

>>> from PeerIndexPy import PeerIndex

>>> api = PeerIndex('YOUR API KEY GOES HERE')
>>> data = api.lookup_userid('THE USER ID')

You'll have a data object like:

{"name":"Simon Cast","twitter":"simoncast","slug":"simon-cast","known":1,"authority":40,"activity":46,"audience":46,"peerindex":41,"url":"http:\/\/pi.mu\/4","topics":["entrepreneurship","peer influence","product management","london","seedcamp"]}

which you can access like:

>>> data['name']
>>> u'Simon Cast'

About

A Python interface for the PeerIndex API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages