Skip to content

Instantly share code, notes, and snippets.

@ET-CS
Last active January 4, 2016 04:58
Show Gist options
  • Save ET-CS/8571657 to your computer and use it in GitHub Desktop.
Save ET-CS/8571657 to your computer and use it in GitHub Desktop.
Python - get GitHub followers
import requests
import simplejson as json
def get_github_followers():
url = "https://api.github.com/users/ET-CS"
j=json.loads((requests.get(url)).text)
return str(j['followers'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment