WeChat Official Account original article count by id or URL
justoneapi.x.weixin-get-account-original-count-v1Retrieves the original-article count for a WeChat Official Account identified by ghid or article URL.
- 価格
- $0.2214/successカタログ価格で提供
- 成功率
- —成功率データはまだありません直近 30 日 · 1 回
- レイテンシ p50
- ——
- 最終確認
- —未確認
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.weixin-get-account-original-count-v1Beta- プラットフォームのクォータを使用
- 同期レスポンス
- 公開データを読み取る
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
url | 文字列 | 任意 | WeChat Official Account article URL used to identify the account. Use either ghid or url. | |
ghid | 文字列 | 任意 | WeChat Official Account original identifier, using the gh_ prefix returned by WeChat. Use either ghid or url. | |
- クエリパラメータ
url文字列任意WeChat Official Account article URL used to identify the account. Use either ghid or url.
ghid文字列任意WeChat Official Account original identifier, using the gh_ prefix returned by WeChat. Use either ghid or url.
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Beta
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.weixin-get-account-original-count-v1' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.x.weixin-get-account-original-count-v1",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/justoneapi.x.weixin-get-account-original-count-v1", {
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 は Beta です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.2214/success です。サービス料を含みます。