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