We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 48abc45 + 4df64b9 commit 976f2a9Copy full SHA for 976f2a9
imgurpython/client.py
@@ -283,6 +283,10 @@ def get_album_images(self, album_id):
283
images = self.make_request('GET', 'album/%s/images' % album_id)
284
return [Image(image) for image in images]
285
286
+ def get_album_image(self, album_id, image_id):
287
+ image = self.make_request('GET', 'album/%s/image/%s' % (album_id, image_id))
288
+ return Image(image)
289
+
290
def create_album(self, fields):
291
post_data = {field: fields[field] for field in set(self.allowed_album_fields).intersection(fields.keys())}
292
0 commit comments