Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

Commit 546b452

Browse files
committed
Review feedback
1 parent 360ac1b commit 546b452

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ client = ImgurClient(client_id, client_secret)
4545
# Example request
4646
items = client.gallery()
4747
for item in items
48-
print item.link
48+
print(item.link)
4949

5050
```
5151

@@ -75,7 +75,7 @@ from imgurpython import ImgurClient
7575

7676
# If you already have an access/refresh pair in hand
7777
client_id = 'YOUR CLIENT ID'
78-
client_SECRET = 'YOUR CLIENT SECRET'
78+
client_secret = 'YOUR CLIENT SECRET'
7979
access_token = 'USER ACCESS TOKEN'
8080
refresh_token = 'USER REFRESH TOKEN'
8181

imgurpython/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ def gallery_random(self, page=0):
513513
response = self.make_request('GET', 'gallery/random/random/%d' % page)
514514
return build_gallery_images_and_albums(response)
515515

516-
def share_on_imgur(self, item_id, title, terms=1):
516+
def share_on_imgur(self, item_id, title, terms=0):
517517
self.logged_in()
518518
data = {
519519
'title': title,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
],
5151

5252
# What does your project relate to?
53-
keywords=['python', 'imgur', 'client'],
53+
keywords=['api', 'imgur', 'client'],
5454

5555
# You can just specify the packages manually here if your project is
5656
# simple. Or you can use find_packages().

0 commit comments

Comments
 (0)