Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/areed1192/finance-news-aggregator

A news aggregator in python, that focuses primarily on business and market news sources.
https://github.com/areed1192/finance-news-aggregator

business finance markets news-aggregator news-articles newsfeed python sentiment stock-market

Last synced: about 7 hours ago
JSON representation

A news aggregator in python, that focuses primarily on business and market news sources.

Awesome Lists containing this project

README

        

# Finance News Aggregator

## Table of Contents

- [Overview](#overview)
- [Setup](#setup)
- [Usage](#usage)
- [Support These Projects](#support-these-projects)

## Overview

Current Version: **0.1.2**

Investors use news articles to gain an idea of market sentiment and hopefully
be able to predict the direction of markets based on the sentiment of these
articles and how they are published. The `finnews` library is designed to help
the collection of news articles related to business topics and market news easy
and efficient.

## Setup

To **install** the library, run the following command from the terminal.

```console
pip install fin-news
```

To **upgrade** the library, run the following command from the terminal.

```console
pip install --upgrade fin-news
```

## Usage

Here is a simple example of using the `finnews` library to to grab the top stories
on CNBC.

```python
from pprint import pprint
from finnews.client import News

# Create a new instance of the News Client.
news_client = News()

# Grab the CNBC News Client.
cnbc_news_client = news_client.cnbc

# Grab the top news.
cbnc_top_news = cnbc_news_client.news_feed(topic='top_news')

# Print it.
pprint(cbnc_top_news)
```

## Support These Projects

**Patreon:**
Help support this project and future projects by donating to my [Patreon Page](https://www.patreon.com/sigmacoding). I'm always looking to add more content for individuals like yourself, unfortuantely some of the APIs I would require me to pay monthly fees.

**YouTube:**
If you'd like to watch more of my content, feel free to visit my YouTube channel [Sigma Coding](https://www.youtube.com/c/SigmaCoding).