The News API
A Rust client library for interacting with The News API (https://www.thenewsapi.com/), providing access to global news from thousands of sources with exceptional response times.
Features
- Fetch latest headlines by category
- Retrieve top stories
- Access all news articles with advanced filtering
- Find similar news articles based on a specific article UUID
- Retrieve specific articles by UUID
- List available news sources
Installation
Add this to your Cargo.toml:
[]
= "0.1.0"
Ensure you also have the required dependencies:
[]
= { = "0.11", = ["json"] }
= { = "1.0", = ["derive"] }
= "1.0"
= { = "1.0", = ["full"] }
= "1.0"
Usage
use Client;
async
See the docs for all supported methods and parameters.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contribution
Contributions are welcome. Please open an issue or submit a pull request on GitHub.