Coder Social home page Coder Social logo

go-vimeo's People

Contributors

adamgoose avatar ceresti-mrw avatar joriszwart avatar peakle avatar silentsokolov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

go-vimeo's Issues

Lists of videos produce JSON unmarshal error

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())
}
  • go-vimeo v2.2.0
  • go v1.10.2

Let me know if I can provide any additional information!
Lukas

ListVideo("", vimeo.OptQuery("videoName")) returns an empty video list

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

Upload video metadata

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....

UploadVideo() returns nil on larger videos

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?

ReplaceFile doesn't work after April upgrades

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

.

thumbnails

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?

Filtering personal videos by tag

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 couple of questions

  • Is there a reason that the /me/videos call is not supported?
  • Is there a reason why not all of the JSON returned it put into the Video struct?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.