WeChat Official Account principal info by id or URL
justoneapi.x.weixin-get-account-principal-info-v1Retrieves principal information for a WeChat Official Account identified by biz ID, article URL, or wxid.
- 価格
- $0.1476/successカタログ価格で提供
- 成功率
- —成功率データはまだありません直近 30 日 · 1 回
- レイテンシ p50
- ——
- 最終確認
- —未確認
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.weixin-get-account-principal-info-v1Beta- プラットフォームのクォータを使用
- 同期レスポンス
- 公開データを読み取る
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
biz | 文字列 | 任意 | WeChat Official Account biz id. Use one of biz, url, or wxid. | |
url | 文字列 | 任意 | WeChat Official Account article URL used to identify the account. Use one of biz, url, or wxid. | |
wxid | 文字列 | 任意 | WeChat Official Account wxid used to identify the account. Use one of biz, url, or wxid. | |
- クエリパラメータ
biz文字列任意WeChat Official Account biz id. Use one of biz, url, or wxid.
url文字列任意WeChat Official Account article URL used to identify the account. Use one of biz, url, or wxid.
wxid文字列任意WeChat Official Account wxid used to identify the account. Use one of biz, url, or wxid.
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Beta
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.weixin-get-account-principal-info-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-principal-info-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-principal-info-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.1476/success です。サービス料を含みます。