Firehose stream of all Likes
x.x.stream-likes-firehoseStream all Likes
- Price
- $0.001/resultプロバイダー原価
- Success rate
- —成功率データはまだありませんLast 30 days · 0 calls
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/x.x.stream-likes-firehosePreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
end_time | 文字列 | 任意 | YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided. | |
partition | 整数 | 必須 | The partition number. | |
expansions | 配列 | 任意 | A comma separated list of fields to expand. | |
start_time | 文字列 | 任意 | YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp to which the Likes will be provided. | |
user.fields | 配列 | 任意 | A comma separated list of User fields to display. | |
media.fields | 配列 | 任意 | A comma separated list of Media fields to display. | |
tweet.fields | 配列 | 任意 | A comma separated list of Tweet fields to display. | |
backfill_minutes | 整数 | 任意 | The number of minutes of backfill requested. | |
like_with_tweet_author.fields | 配列 | 任意 | A comma separated list of LikeWithTweetAuthor fields to display. | |
- クエリパラメータ
end_time文字列任意YYYY-MM-DDTHH:mm:ssZ. The latest UTC timestamp to which the Posts will be provided.
partition整数必須The partition number.
expansions配列任意A comma separated list of fields to expand.
start_time文字列任意YYYY-MM-DDTHH:mm:ssZ. The earliest UTC timestamp to which the Likes will be provided.
user.fields配列任意A comma separated list of User fields to display.
media.fields配列任意A comma separated list of Media fields to display.
tweet.fields配列任意A comma separated list of Tweet fields to display.
backfill_minutes整数任意The number of minutes of backfill requested.
like_with_tweet_author.fields配列任意A comma separated list of LikeWithTweetAuthor fields to display.
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/x.x.stream-likes-firehose' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/x.x.stream-likes-firehose",
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.stream-likes-firehose", {
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.001/result です。サービス料を含みます。