Skip to content

Real-time news over WebSocket

Choose a tag to compare

@himanshu-gtm himanshu-gtm released this 18 Aug 09:43
· 7 commits to main since this release
59d5431

What's New

  • Added real-time news streaming over WebSocket — register a query once and receive matching articles as they're published.
  • Added websocket_fetch() and websocket_delete() for managing registrations.
  • Added stream_async() for asyncio applications.
  • Automatic reconnection with capped exponential backoff.

Breaking Changes

  • Python 3.10+ is now required.
  • websockets is now a required dependency.
  • pip install newsdataapi installs all required dependencies.
  • Python 3.8/3.9 users will continue receiving v0.2.3.