Introduction
This page serves as a central guide to the documentation.
Are you using our white-label client? We recommend that you do; It takes care of caching and authentication, and is designed to make your life easier.
Please familiarize yourself with our API guidelines for app development which lay out guidelines for clients interactions with the server.
API versions
AminoTV has two styles of API:
- Legacy API
- REST based
They are documented separately and we maintain a list of endpoints that are in live service on our page about the AminoTV API Lifecycle
We recommend that you only use the currently supported versions of an endpoint. Endpoints that are deprecated are frozen and will not receive feature updates.
Quickstart
Authenticate a user and obtain a cookie
Take a look at our page about Authentication.
sdk.user.login('me@example.com', '12345678') .then(() => { // Login successful }) .catch(error => { // Login failed });
Find the service name
This should have been communicated to you by your account manager at Amino
Make a call to the client API
curl 'https://customer.domain/api/epg?service=betaserver&st=1549288800&et=1549375200&sort=rec_count__desc&ipp=10&ch=1,2,3,4,5,6,7,8,9,10,11,27,12,3036,14,15,74,51,53,52,17,13,19,33,3006,28,29,30,16,3003,26,47,20,21,25,24,23,31,32,34,35,36,37,38,39,40,41,42,44,3009,3007,45,3010,18,49,50&service=service_name&_=1549291338147' -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'Accept-Language: en-GB,en;q=0.5' --compressed -H 'Connection: keep-alive' -H 'Cookie: PHPSESSID=123; ssid=123; SimpleSAMLSessionID=123; SimpleSAMLAuthToken=123; username=user@customer.domain; usid=123; SamlAuthenticated=1'
Play some content
Please see /wiki/spaces/MAPI/pages/49676718