semvec/pypi-packages huggingface dataset:
python-thenewsapi 0.1.1
A python wrapper for thenewsapi.com

# python-thenewsapi
A python wrapper for https://thenewsapi.com

All params from their website are supported in the functions

#### Top Stories
```
import thenewsapi

tna = thenewsapi.TheNewsAPIClient('API_KEY')
    
top_stories = tna.get_top_stories()
    
print(top_stories)
```
#### All News
```
import thenewsapi

tna = thenewsapi.TheNewsAPIClient(API_KEY)
    
all_news = tna.get_all_news()
    
print(all_news)
```
#### Similar News
```
import thenewsapi

tna = thenewsapi.TheNewsAPIClient(API_KEY)
    
similar_news = tna.get_similar_news(NEWS_UUID)
    
print(similar_news)
```
#### News By UUID
```
import thenewsapi

tna = thenewsapi.TheNewsAPIClient(API_KEY)
    
news_by_uuid = tna.get_news_by_uuid(NEWS_UUID)
    
print(news_by_uuid)
```
#### Sources
```
import thenewsapi

tna = thenewsapi.TheNewsAPIClient(API_KEY)
    
sources = tna.get_sources()
    
print(sources)
```
#### Headlines (Standard+ tier needed)
```
import thenewsapi

tna = thenewsapi.TheNewsAPIClient(API_KEY)
    
headlines = tna.get_headlines()
    
print(headlines)
```
If you want to use multiple values for one param, I suggest you use lists to make it more relateable, like:
```
tna.get_top_stories(locale=['ae','ar'])
```
BAScraper 0.2.0
API wrapper for PullPush.io - the 3rd party replacement API for Reddit.
Requires Python: >=3.11
Keywords: reddit, scraper, PullPush, wrapper

currently it can:
- get submissions/comments from a certain subreddit in supported order/sorting methods specified in the PullPush.io API docs
- get comments under the retrieved submissions
- can get all the submissions based on the number of submissions or in a certain timeframe you specify
- can recover(if possible) deleted/removed submission/comments from the returned result
check the [documentation on the github](https://github.com/maxjo020418/BAScraper) for detailed info