Skip to content
Browse files

member photo upload methods

  • Loading branch information...
1 parent 39178cc commit 757d80c148be24121457ab05581d39640bc66ceb @n8han n8han committed Aug 16, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 meetup_api_client.py
View
4 meetup_api_client.py
@@ -42,6 +42,7 @@
RSVP_URI = 'rsvp'
COMMENTS_URI = 'comments'
PHOTO_URI = 'photo'
+MEMBER_PHOTO_URI = '2/member_photo'
API_BASE_URL = 'http://api.meetup.com/'
OAUTH_BASE_URL = 'http://www.meetup.com/'
@@ -84,6 +85,9 @@ def post_rsvp(self, **args):
def post_photo(self, **args):
return self._post_multipart(PHOTO_URI, **args)
+ def post_member_photo(self, **args):
+ return self._post_multipart(MEMBER_PHOTO_URI, **args)
+
def args_str(self, url_args):
if self.api_key:
url_args['key'] = self.api_key

0 comments on commit 757d80c

Please sign in to comment.
Something went wrong with that request. Please try again.