Get Info
Retrieve Threads user information by id.
Paramsโ
Name | Type | Default | Description |
---|---|---|---|
id (required) | int | โ | User id |
Usageโ
- Python
- PHP
- cURL
from rocketapi import ThreadsAPI
threads_api = ThreadsAPI(token="your-api-key")
print(threads_api.get_user_info(35670846775))
<?php
require('vendor/autoload.php');
use RocketAPI\ThreadsAPI;
$api = new ThreadsAPI('your-api-key');
print_r($api->getUserInfo(35670846775));
curl --request POST \
--url https://v1.rocketapi.io/threads/user/get_info \
--header 'Content-Type: application/json' \
--header 'Authorization: Token your-api-key' \
--data '{
"id": 35670846775
}'
Response exampleโ
Loading...