silentsokolov / go-vimeo Goto Github PK
View Code? Open in Web Editor NEWVimeo Go API client
License: MIT License
Vimeo Go API client
License: MIT License
The following code:
vids, _, err := cli.Users.ListLikedVideo(uid)
if err != nil {
println(err.Error())
}
Produces the follwing error:
json: cannot unmarshal object into Go struct field Category.parent of type string
This is also the case for a request for a user's videos; the following code produces an identical error:
vids, _, err := cli.Users.ListVideo(uid)
if err != nil {
println(err.Error())
}
Let me know if I can provide any additional information!
Lukas
after this call:
videos, resp, err := client.Users.ListVideo("", vimeo.OptPerPage(100) )
i can see that:
resp.TotalPage = 1156
but
resp.LastPage = "/me/videos?per_page=100&page=12"
so TotalPages
should be 12, not 1156, correct?
Hi Dmitriy,
just wondering if something has changed in the 2.2.1 version with regards to the query options for the ListVideo() call?
I frequently need to replace video files of existing videos and have used the same code to do that over and over again but it now has stopped working. I haven't used it in several months but when I tried now to fetch the video object from Vimeo for the Video that I need to replace, I get an empty video list back. I triple-checked and the video I've passed to the queryOption certainly exists.
thanks,
olaf
Hi! Thanks for this lib!
Is there any way to upload video with given name / description / etc, or should I upload video first and then edit it's name / metadata / privacy later? It would be better, not to exist nor be public until all its meta is set....
Although I can upload smaller files but uploading larger files is very unreliable, I used the example code from readme, and client.Users.UploadVideo("", f)
often returns nil
leading to segfault. What can we fix this?
After upgrading the library with the latest code as per the commits from mid April 2018 the ReplaceFile function returns:
404 Something strange occurred. Please try again.
I can upload using the tus golang library. if i replace the UploadVideo call with the ReplaceFile however I get the 404 Something strange occurred
.
Sorry if this is not the right place to ask and please just delete if not applicable.
Uploading / replacing existing videos is a breeze using this library - thanks for the effort!
I'd need to also update thumbnails after replacing videos but can't find an implementation of the relevant POST anywhere. So am I right to assume that it doesn't exist?
Hi there,
it's a bit hard to manage with few examples and no documentation. I'm trying to filter my personal videos by tag.
I'm trying with adVideos, _, adVideosErr := client.Users.ListVideo("", vimeo.OptFilter("tags=ad")). Any clues here?
Thanks in advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.