· 7 years ago · Apr 12, 2018, 06:14 PM
1import Algorithmia
2
3input = {
4 "username": "elonmusk",
5 "auth": {
6 "app_key": "xxxxxxxxxx",
7 "app_secret": "xxxxxxxxxx",
8 "oauth_token": "xxxxxxxxxx",
9 "oauth_token_secret": "xxxxxxxxxx"
10 }
11}
12
13client = Algorithmia.client('YOUR_API_KEY')
14algo = client.algo('twitter/RetrieveTwitterFollowers/0.1.0')
15print(algo.pipe(input))