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.
- Precio
- $0.2214/successA precio de catálogo
- Tasa de éxito
- —Aún no hay datos de tasa de éxitoÚltimos 30 días · 1 llamadas
- Latencia p50
- ——
- Última verificación
- —Aún no verificado
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.weixin-get-account-original-count-v1Beta- Usa la cuota de la plataforma
- Respuesta síncrona
- Lee datos públicos
Parámetros
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
url | cadena | Opcional | WeChat Official Account article URL used to identify the account. Use either ghid or url. | |
ghid | cadena | Opcional | WeChat Official Account original identifier, using the gh_ prefix returned by WeChat. Use either ghid or url. | |
- Parámetros de consulta
urlcadenaOpcionalWeChat Official Account article URL used to identify the account. Use either ghid or url.
ghidcadenaOpcionalWeChat Official Account original identifier, using the gh_ prefix returned by WeChat. Use either ghid or url.
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
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());La API de la pasarela está en Beta; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.2214/success, incluida la tarifa de servicio.