Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 883 Bytes

README.md

File metadata and controls

47 lines (28 loc) · 883 Bytes

Trends APIs

Green Hydrogen FastAPI apis

This project contain API which will get data from twitter and google news related to Green Hydrogen which was in trend before some days. It will also analyse the sentiment score of content using Huggingface trained model.

All the created CSV files are stored inside csv_files folder Also you can download the file when you run the API

To access this APIs locally follow below steps:

First, Install pipenv if you don't have it on your system

pip install pipenv

Sencond, Activate pipenv virtual environment

pipenv shell

Third, Install all the dependencies

pipenv install

Now your App is almost ready,

To run the Local Server

uvicorn index:app --reload

To access the API you will have to go to

http://127.0.0.1:8000/docs