Skip to content

Commit

Permalink
Update InstagramAPI.py
Browse files Browse the repository at this point in the history
Story retrieval feature
  • Loading branch information
Rahandi Noor Pasha authored Jan 14, 2018
1 parent e0cc67d commit 59f25ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion InstagramAPI/InstagramAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,10 @@ def editProfile(self, url, phone, first_name, biography, email, gender):
'email': email,
'gender': gender})
return self.SendRequest('accounts/edit_profile/', self.generateSignature(data))


def getStory(self, usernameId):
return self.SendRequest('feed/user/' + str(usernameId) + '/reel_media/')

def getUsernameInfo(self, usernameId):
return self.SendRequest('users/' + str(usernameId) + '/info/')

Expand Down

0 comments on commit 59f25ac

Please sign in to comment.