Giter Site home page Giter Site logo

apivideo / api.video-api-client-generator Goto Github PK

View Code? Open in Web Editor NEW
24.0 24.0 3.0 62.82 MB

Tool used to generate api.video's API clients, based on OpenAPI codegen

Home Page: https://api.video

License: MIT License

Java 26.28% Mustache 59.21% Shell 1.03% TypeScript 0.06% Go 3.01% C# 2.43% PHP 2.26% Python 0.69% Kotlin 2.50% Swift 2.51% JavaScript 0.01%

api.video-api-client-generator's People

Contributors

anthony-dantard avatar arthemium avatar bot-api-video avatar captype avatar erikkai avatar gl3n avatar lutangar avatar ol1a avatar olivierapivideo avatar pedrofcristino avatar romainpetit1 avatar szekelyzol avatar thibaultbee 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

api.video-api-client-generator's Issues

[nodejs] RawStatisticsApi.listVideoSessions() metadata parameters issue

@dougsillars found an issue on the nodejs client. This issue probably affects other clients also.

The metadata param on the RawStatisticsApi.listVideoSessions() endpoint should be an object that is serialized as follow in the request query:

  • metadata: {'key1': 'value1', 'key2': 'value2'}
  • request url: blabla?metadata[key1]=value1&metadata[key2]=value2

I think the schema isn't properly defined in the API description (maybe we should deal with the "style" attribute of the param in the description). I also think it will need a change in the nodejs generator.

@lutangar let's talk about that next week when you're avaliable.

test

this is a test

[Feat]: Video Screenshot API

Version

Environment that reproduces the issue

Use case description

Hey guys,
would be great if there would be an API to request a screenshot from a video for a specific timestamp.
Thanks for your great work and considering!

Proposed solution

No response

Alternative solutions

No response

Analytics API namespace

While working on the migration guide I notice the following difference:

Get video analytics sessions for the current year

Before: (nodejs-sdk)

await client.analyticsVideo.get(videoId, new Date().getFullYear());

After: (typescript-client)

await client.rawStatistics.listVideoSessions({ videoId, period: new Date().getFullYear().toString() });

Nothing wrong here, except the statistics wording feels wrong.

If we look at the analytics docs:
https://docs.api.video/reference#analytics

We usually reference it as analytics.
About the raw part, I remember it was a thing before but not sure it matters now.

We might as well call it analytics :

await client.analytics.listVideoSessions({ videoId, period: new Date().getFullYear().toString() });

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.