Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit 190bd95

Browse files
committed
Merge pull request #81 from yoloseem/patch-1
Prevent using Python built-in function.
2 parents db9cafa + 3792a73 commit 190bd95

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ from instagram.client import InstagramAPI
5151

5252
access_token = "YOUR_ACCESS_TOKEN"
5353
api = InstagramAPI(access_token=access_token)
54-
recent_media, next = api.user_recent_media(user_id="userid", count=10)
54+
recent_media, next_ = api.user_recent_media(user_id="userid", count=10)
5555
for media in recent_media:
5656
print media.caption.text
5757
```
@@ -115,7 +115,7 @@ See the endpoints docs for more on these methods: http://instagr.am/developer/en
115115
The methods with a * return two values, where the second is a pagination parameter. Here's an example of retrieving recent media:
116116

117117
``` python
118-
recent_media, next = api.user_recent_media()
118+
recent_media, next_ = api.user_recent_media()
119119
photos = []
120120
for media in recent_media:
121121
photos.append('<img src="%s"/>' % media.images['thumbnail'].url)

0 commit comments

Comments
 (0)