Comments (8)
Hi,
Given this
import vine
v = vine.Vine()
v.login(username, password)
I can do this
v._call("posts/1046181520647561216/likes", params={"page": None, "size": None})["data"]
And receive a list of likes for that post. It'd be easy enough to bake into a method, and I'd be happy to accept a pull request for it. :)
from vino.
Hey hult
Thanks for replying me. But I don't want all likes of particular video but I want to implement functionality, from where user can like vine video from my iOS app. so I need API for this.
Thanks,
from vino.
Hi,
Mail me your exact requirement on [email protected] I have
solution for that.
On Mon, Oct 6, 2014 at 8:43 PM, harry225 [email protected] wrote:
Hey hult
Thanks for replying me. But I don't want all likes of particular video but
I want to implement functionality, from where user can like vine video from
my iOS app. so I need API for this.Thanks,
—
Reply to this email directly or view it on GitHub
#10 (comment).
from vino.
@harry225 This is a Python library for the Vine API, hardly something you can use from an iOS app.
from vino.
@hult Is there any API for like video from my app in iOS?
from vino.
What is the difference between count and size fields in the popular['data'] keys?
where popular=v._call("timelines/popular")
from vino.
In all lists, size
is the number of items you requested per page (seems to default for 20, and actual number of items returned may be lower than this), and count
is the total number of items there are.
So when I do popular=v._call("timelines/popular")
, I get
popular['data']['count'] # There are 100 popular items
popular['data']['size'] # You requested the first 20
len(popular['data']['records']) # Vine returned 18 items
If you want more items, use the page
parameter.
from vino.
thanks, that is what I was thinking too :)
from vino.
Related Issues (20)
- Pagination on Vine API
- Vine search by name issue
- Add support for JSONP HOT 1
- api call more vine videos HOT 7
- Vine send message HOT 1
- Get Post by ID and Searches with Spaces are not Working HOT 1
- Api always returning 400 BAD REQUEST when authenticating HOT 4
- Get people a user is following HOT 1
- Pagination with more than 10 pages not working HOT 3
- paging HOT 1
- API for channels HOT 1
- Error 500 when doing a call to the API HOT 7
- "GET https://api.vineapp.com/users/profiles/<userid>" is now private HOT 4
- Play, pause, mute, and unmute vines via the api? HOT 1
- How to get post
- Endpoint for user followers HOT 1
- twitter login HOT 1
- :)
- Post Video on Vine
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vino.