-
Notifications
You must be signed in to change notification settings - Fork 976
AVideo Platform API
We build an application program interface (API) for AVideo, which is a set of routines, protocols, and tools for third-party applications.
For example, we use our API plugin in our mobile application, which means you also can develop any other application using the same API
- First thing, make sure you enable your API plugin.
- We provide an Info button on this plugin, to help you understand the resources we have. To access this info you must be an admin. For example, the demo site API info is https://demo.avideo.com/plugin/API/info.php.
Most of the resources require you to submit a user and password, so it can return the proper response.
For example, to add a like, you will need also to provide what the user is requesting it.
you can provide an encoded or a raw password, The encodedPass parameter means you will send an encrypted password (Hash), the password hash is different per website, if you want to know what is a hash for a specific password you can use the encryptPass URL. On the demo site, the URL is the following:
https://demo.avideo.com/objects/encryptPass.json.php?pass=123
You will need to provide the password, so the raw password will be 123 and the hash will be returned in a JSON response
So you have 2 options to submit a Like to a video:
You can also submit videos from third parties apps to the Streamer, so the Streamer will manage all Security and permissions and send them to the encoder.
We prepare a guide to show you how to do it. https://github.com/WWBN/AVideo/wiki/Upload-videos-from-third-party-applications