Changes

Jump to: navigation, search

Search API

400 bytes added, 02:39, 15 November 2019
Grouped by channel name results
Server-side search API:
*is not paidServer-side search API provides 1000 search queries for free. If you need more, you may sign up for billing in the the admin-panel. Additional requests cost $1 per 10000 queries.
*has no limits
*allows to get search database snapshot
Mandatory parameters:
*'''method''' - API method name
*'''api_version''' - API version (currently it must be set to 1.0)
*'''api_key''' - API key (your personal key)
To obtain you your personal API key you must register and request it.
Currently , server-side API works in beta-testing mode and is available with API key "test_api_key".
==Response format==
*'''category''' (string) - filter by category (list of categories [[Channel Category|here]])
*'''page''' (integer) - page number (starting from 0, default is 0)
*'''page_size''' (integer) - page size (default is 10, maximum value is 50200)
*'''group_by_channels''' (boolean, 0 or 1) - group output results by channel name (see examples)
*'''show_epg''' (boolean, 0 or 1) - include EPG in the response (this works only when group_by_channels=1)
*'''availability_updated_at''' (integer) - unix timestamp when channel availability was last updated at
*'''availability''' (float) - channel availability (number between 0-1)
*'''status''' (integer) - channel status based on its availability; 2 means "green" status - channel is available; 1 means "yellow" status - there is no guaranty that channel is working. Can be used in query as additional filter.
*'''in_playlist''' (boolean) - true if the channel is included in user's playlist (available only on engine endpoint)
Example:
<tt><nowiki>https://search.acestream.net/all?api_version=1.0&api_key=test_api_key</nowiki></tt>
==Examples==
*server-side endpoint
<tt><nowiki>https://search.acestream.net/?method=search &crarr;
&api_version=1.0 &crarr;
&api_key=test_api_key &crarr;
&query=discovery</nowiki></tt>
*server-side endpoint:
<tt><nowiki>https://search.acestream.net/?method=search &crarr;
&api_version=1.0 &crarr;
&api_key=test_api_key &crarr;
&query=discovery &crarr;

Navigation menu