Tweets mentioning a user by user id
x.x.get-users-mentionsGet Users Mentions
- Price
- $0.005/resultプロバイダー原価
- Success rate
- 99.1%Last 30 days · 1,587 calls
- Latency p50
- 215 msp95 381 ms
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/x.x.get-users-mentionsPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| パスパラメータ | ||||
id | 文字列 | 必須 | ||
| クエリパラメータ | ||||
end_time | 文字列 | 任意 | Must be on or after 2010-11-06. | |
since_id | 文字列 | 任意 | ||
until_id | 文字列 | 任意 | ||
start_time | 文字列 | 任意 | Must be on or after 2010-11-06. | |
max_results | 整数 | 任意 | ||
pagination_token | 文字列 | 任意 | A base32hex-encoded pagination token. | |
- パスパラメータ
id文字列必須- クエリパラメータ
end_time文字列任意Must be on or after 2010-11-06.
since_id文字列任意until_id文字列任意start_time文字列任意Must be on or after 2010-11-06.
max_results整数任意pagination_token文字列任意A base32hex-encoded pagination token.
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/x.x.get-users-mentions' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/x.x.get-users-mentions",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/x.x.get-users-mentions", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.005/result です。サービス料を含みます。