Skip to content

Commit

Permalink
Add loops endpoint
Browse files Browse the repository at this point in the history
usage:
vine.loops([{'ts': 1462148569.622568, 'count': 1, 'postId': '1333176710954463232'}])
  • Loading branch information
davoclavo committed May 2, 2016
1 parent 70848f3 commit e5f9ec3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions vinepy/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,16 @@
},

# Posts actions
'loops': {
'endpoint': 'loops',
'request_type': 'post',
'json': True,
'url_params': [],
'required_params': ['loops'],
'optional_params': [],
'default_params': [],
'model': None
},
'like': {
'endpoint': 'posts/%s/likes',
'request_type': 'post',
Expand Down

0 comments on commit e5f9ec3

Please sign in to comment.