8000 member photo upload methods · jjjchens235/python-api-client@757d80c · GitHub
[go: up one dir, main page]

Skip to content

Commit 757d80c

Browse files
author
Nathan Hamblen
committed
member photo upload methods
1 parent 39178cc commit 757d80c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

meetup_api_client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
RSVP_URI = 'rsvp'
4343
COMMENTS_URI = 'comments'
4444
PHOTO_URI = 'photo'
45+
MEMBER_PHOTO_URI = '2/member_photo'
4546

4647
API_BASE_URL = 'http://api.meetup.com/'
4748
OAUTH_BASE_URL = 'http://www.meetup.com/'
@@ -84,6 +85,9 @@ def post_rsvp(self, **args):
8485
def post_photo(self, **args):
8586
return self._post_multipart(PHOTO_URI, **args)
8687

88+
def post_member_photo(self, **args):
89+
return self._post_multipart(MEMBER_PHOTO_URI, **args)
90+
8791
def args_str(self, url_args):
8892
if self.api_key:
8993
url_args['key'] = self.api_key

0 commit comments

Comments
 (0)
0