apivideo / api.video-api-client-generator Goto Github PK
View Code? Open in Web Editor NEWTool used to generate api.video's API clients, based on OpenAPI codegen
Home Page: https://api.video
License: MIT License
Tool used to generate api.video's API clients, based on OpenAPI codegen
Home Page: https://api.video
License: MIT License
@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:
{'key1': 'value1', 'key2': 'value2'}
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.
this is a test
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!
No response
No response
While working on the migration guide I notice the following difference:
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() });
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.