Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arthemium authored Oct 12, 2023
1 parent 3db867b commit ec584ea
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ func main() {

//Upload a video
//First create a container
create, err := client.Videos.Create(apivideosdk.VideoCreationPayload{Title: "My video title"})
creationPayload = apivideosdk.VideoCreationPayload{}
creationPayload.SetTitle("My title")
creationPayload.SetMp4Support(True)
create, err := client.Videos.Create(creationPayload)

if err != nil {
fmt.Println(err)
Expand Down Expand Up @@ -382,4 +385,4 @@ This helps other users to find the clients and also helps us understand which cl

# Contribution

Since this API client is generated from an OpenAPI description, we cannot accept pull requests made directly to the repository. If you want to contribute, you can open a pull request on the repository of our [client generator](https://github.com/apivideo/api-client-generator). Otherwise, you can also simply open an issue detailing your need on this repository.
Since this API client is generated from an OpenAPI description, we cannot accept pull requests made directly to the repository. If you want to contribute, you can open a pull request on the repository of our [client generator](https://github.com/apivideo/api-client-generator). Otherwise, you can also simply open an issue detailing your need on this repository.

0 comments on commit ec584ea

Please sign in to comment.