/v1/reports/visibility、/v1/reports/citations、
/v1/reports/sentiment)には category_id が必要です。キーで参照できるカテゴリを
一覧表示し、適切なものを選択してください。
この例の仕組み
- 1 回の呼び出しですべてを一覧表示します。 フィルターもページネーションも不要です。
- 探しているものがわかっている場合は名前で照合し、わからない場合は すべてを出力します。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
import os
from profound import Profound
client = Profound(api_key=os.environ["PROFOUND_API_KEY"])
categories = client.organizations.categories.list()
# Print every category your key can see.
for c in categories:
print(f"{c.id} {c.name}")
# Or: find one by name.
TARGET = "<your-category-name>"
match = next((c for c in categories if c.name == TARGET), None)
if match:
print(f"\nFound Category '{TARGET}': {match.id}")
export PROFOUND_API_KEY=your_api_key_here
curl "https://api.tryprofound.com/v1/org/categories" \
-H "X-API-Key: $PROFOUND_API_KEY"
すべてのレポート呼び出しには category_id が必要です。プログラムで調べる方法を紹介します
import os
from profound import Profound
client = Profound(api_key=os.environ["PROFOUND_API_KEY"])
categories = client.organizations.categories.list()
# Print every category your key can see.
for c in categories:
print(f"{c.id} {c.name}")
# Or: find one by name.
TARGET = "<your-category-name>"
match = next((c for c in categories if c.name == TARGET), None)
if match:
print(f"\nFound Category '{TARGET}': {match.id}")
export PROFOUND_API_KEY=your_api_key_here
curl "https://api.tryprofound.com/v1/org/categories" \
-H "X-API-Key: $PROFOUND_API_KEY"
/v1/reports/visibility、/v1/reports/citations、
/v1/reports/sentiment)には category_id が必要です。キーで参照できるカテゴリを
一覧表示し、適切なものを選択してください。
import os
from profound import Profound
client = Profound(api_key=os.environ["PROFOUND_API_KEY"])
categories = client.organizations.categories.list()
# Print every category your key can see.
for c in categories:
print(f"{c.id} {c.name}")
# Or: find one by name.
TARGET = "<your-category-name>"
match = next((c for c in categories if c.name == TARGET), None)
if match:
print(f"\nFound Category '{TARGET}': {match.id}")
export PROFOUND_API_KEY=your_api_key_here
curl "https://api.tryprofound.com/v1/org/categories" \
-H "X-API-Key: $PROFOUND_API_KEY"
このページは役に立ちましたか?