Get Live
Retrieve user live broadcast by id.
Params
Name | Type | Default | Description |
---|---|---|---|
id (required) | int | – | User id |
Usage
- Python
- PHP
- cURL
from rocketapi import InstagramAPI
instagram_api = InstagramAPI(token="your-api-key")
print(instagram_api.get_user_live(12281817))
<?php
require('vendor/autoload.php');
use RocketAPI\InstagramAPI;
$api = new InstagramAPI('your-api-key');
print_r($api->getUserLive(12281817));
curl --request POST \
--url https://v1.rocketapi.io/instagram/user/get_live \
--header 'Content-Type: application/json' \
--header 'Authorization: Token your-api-key' \
--data '{
"id": 12281817
}'
Response example
Loading...