Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swapnanildutta/social-media-sentiment-analysis-api
This is the API I created for the project on "Sentiment Analysis using Social Media Data".
https://github.com/swapnanildutta/social-media-sentiment-analysis-api
api flask flask-application machine-learning nltk-python project python3 sentiment-analysis social-media
Last synced: 3 days ago
JSON representation
This is the API I created for the project on "Sentiment Analysis using Social Media Data".
- Host: GitHub
- URL: https://github.com/swapnanildutta/social-media-sentiment-analysis-api
- Owner: swapnanildutta
- License: mit
- Created: 2020-07-06T11:18:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-20T23:59:01.000Z (over 1 year ago)
- Last Synced: 2023-03-04T02:48:49.031Z (over 1 year ago)
- Topics: api, flask, flask-application, machine-learning, nltk-python, project, python3, sentiment-analysis, social-media
- Language: Python
- Homepage:
- Size: 5.67 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Social-Media-Sentiment-Analysis-API
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
[![HitCount](http://hits.dwyl.com/swapnanildutta/Social-Media-Sentiment-Analysis-API.svg)](http://hits.dwyl.com/swapnanildutta/Social-Media-Sentiment-Analysis-API)In this project, we are using the Sentiment Analysing algorithm to predict the emotional state of an individual based on the data input from the person's social media posts and interactions. To perform this analysis, we use an interactive platform like the website or the mobile application and take the user authorized account name and process the data accordingly in our server and finally display the result of analysis performed i.e. the emotional state of the individual whose account name was provided.
This is just the API of our project, hosted on Heroku and hence the Procfile is made.
## Setup
- Create a Twitter Developer Account and acquire the access token and key and API key and token.
- Paste those credentials into the [*app.py*](/app.py).### Hosting Locally
- Install the dependencies using :
```bash
pip install -r requirements.txt
```- Run the [*app.py*](/app.py) file :
```bash
python app.py
```### Hosting Remotely
- Fork the entire repository and make the necessary changes.
- Link the repository to the Heroku pipeline.
### Output ( Same for Locally and Remotely Hosted )
#### Viewed In Browser
#### Viewed In API Testing Platform