Function | API Alias | Description |
---|---|---|
Ingests::getIngestServers |
/ingests |
Gets the current status of all publicly available ingest servers |
Gets the current status of all publicly available ingest servers.
No authentication scopes needed
/ingests
No parameters are supported by this endpoint.
Static
use \IBurn36360\TwitchInterface\Configuration;
use \IBurn36360\TwitchInterface\Modules\Ingests;
$ingestServers = Ingests::getIngestServers(new Configuration([
'clientID' => 'Your Twitch ClientID'
]));
Object
use \IBurn36360\TwitchInterface\Twitch;
use \IBurn36360\TwitchInterface\Configuration;
$twitchClient = new Twitch(new Configuration([
'clientID' => 'Your Twitch ClientID',
]));
$ingestServers = $twitchClient->api('/ingests');
{
"ingests": [{
"_id": 24,
"availability": 1.0,
"default": false,
"name": "EU: Amsterdam, NL",
"url_template": "rtmp://live-ams.twitch.tv/app/{stream_key}"
},
...
]
}