@@ -0,0 +1,1227 @@
+import requests,json%0A%0Aclass followAPI(object):%0A%0A    def __init__(self,token):%0A        self.AccessToken = token%0A%0A    def my_followers(self):%0A        headers=%7B'Authorization':'token '+self.AccessToken,'Accept':'application/json','Content-Type':'application/json'%7D%0A        r = requests.get('https://api.github.com/user/followers',headers=headers)%0A        return json.dumps(r.text)%0A%0A    def get_followers(self,username):%0A        headers=%7B'Authorization':'token '+self.AccessToken,'Accept':'application/json','Content-Type':'application/json'%7D%0A        r = requests.get('https://api.github.com/users/'+username+'/followers',headers=headers)%0A        return json.dumps(r.text)%0A%0A    def my_following(self):%0A        headers=%7B'Authorization':'token '+self.AccessToken,'Accept':'application/json','Content-Type':'application/json'%7D%0A        r = requests.get('https://api.github.com/user/following',headers=headers)%0A        return json.dumps(r.text)%0A%0A    def get_following(self,username):%0A        headers=%7B'Authorization':'token '+self.AccessToken,'Accept':'application/json','Content-Type':'application/json'%7D%0A        r = requests.get('https://api.github.com/users/'+username+'/following',headers=headers)%0A        return json.dumps(r.text)%0A

Create follow.py