Skip to content

Commit 903b565

Browse files
authored
chore: Revise API key and enhance endpoint descriptions
Updated API key usage and added new endpoint information.
1 parent 212478a commit 903b565

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ pip install asknews
1717
from asknews_sdk import AskNewsSDK
1818

1919
ask = AskNewsSDK(
20-
client_id=<"YOUR_CLIENT_ID>",
21-
client_secret="<YOUR_CLIENT_SECRET>",
20+
api_key="<YOUR API KEY>"
2221
scopes=["news", "chat", "stories", "analytics"]
2322
)
2423

@@ -33,7 +32,7 @@ And you will have a prompt-optimized string ready to go for any LLM. The API doe
3332
- /stories, high level event tracking and state of the art article clustering
3433
- /forecasts, industry leading forecasting on any real-time event
3534
- /analytics, time-series data on finance and politics
36-
- /chat, an OpenAI compatible endpoint infused with news
35+
- /deepnews, a deep research agent that can explore the new knowledge graph, X, Reddit, Google, Wikipedia and more to build forecasts, reports, analytics, and anything else your system may need.
3736
- /graph, build any news knowledge graph imaginable from the largest news graph on the planet
3837
- /websearch, search the web and get back an LLM distillation of all the relevant web pages
3938

0 commit comments

Comments
 (0)