You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4a1a933
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ If you use [uv](https://github.com/astral-sh/uv):
27
27
uv add newsdataapi
28
28
```
29
29
30
-
Supports Python 3.10 through 3.14. The runtime dependencies are `requests` (REST) and `websockets` (real-time streaming).
30
+
Supports Python 3.8 through 3.14. The runtime dependencies are `requests` (REST) and `websockets` (real-time streaming). `NewsDataApiWebSocket` requires Python 3.10 or newer, so `websockets` is only installed there; on 3.8 and 3.9 the REST client works as usual.
31
31
32
32
## Quickstart
33
33
@@ -89,7 +89,7 @@ for page in client.latest_api(q="news", paginate=True, max_pages=5):
89
89
90
90
## Real-time news (WebSocket)
91
91
92
-
Register a query first — the returned `registration_id` identifies it from then on:
92
+
Requires Python 3.10 or newer. Register a query first — the returned `registration_id` identifies it from then on:
93
93
94
94
```python
95
95
from newsdataapi import NewsDataApiClient, NewsDataApiWebSocket
0 commit comments