Firehose stream of Portuguese tweets
x.x.stream-posts-firehose-ptStream Portuguese Posts
- Price
- $0.005/result제공업체 원가
- Success rate
- —성공률 데이터가 아직 없습니다Last 30 days · 0 calls
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/x.x.stream-posts-firehose-ptPreviewTry 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 Posts will be provided. | |
poll.fields | 배열 | 선택 | A comma separated list of Poll fields to display. | |
user.fields | 배열 | 선택 | A comma separated list of User fields to display. | |
media.fields | 배열 | 선택 | A comma separated list of Media fields to display. | |
place.fields | 배열 | 선택 | A comma separated list of Place fields to display. | |
tweet.fields | 배열 | 선택 | A comma separated list of Tweet fields to display. | |
backfill_minutes | 정수 | 선택 | The number of minutes of backfill requested. | |
- 쿼리 파라미터
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 Posts will be provided.
poll.fields배열선택A comma separated list of Poll fields to display.
user.fields배열선택A comma separated list of User fields to display.
media.fields배열선택A comma separated list of Media fields to display.
place.fields배열선택A comma separated list of Place fields to display.
tweet.fields배열선택A comma separated list of Tweet fields to display.
backfill_minutes정수선택The number of minutes of backfill requested.
코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/x.x.stream-posts-firehose-pt' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/x.x.stream-posts-firehose-pt",
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-posts-firehose-pt", {
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이며 서비스 수수료가 포함되어 있습니다.