https://github.com/suddi/tweetindex-lambda
AWS Lambda function to retrieve stock tweets from Twitter's streaming API
https://github.com/suddi/tweetindex-lambda
api-gateway aws-lambda python retrieve-stock-tweets twitter-streaming-api
Last synced: 9 months ago
JSON representation
AWS Lambda function to retrieve stock tweets from Twitter's streaming API
- Host: GitHub
- URL: https://github.com/suddi/tweetindex-lambda
- Owner: suddi
- License: apache-2.0
- Created: 2016-09-24T10:12:41.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-18T17:34:06.000Z (about 9 years ago)
- Last Synced: 2025-03-01T04:26:38.636Z (over 1 year ago)
- Topics: api-gateway, aws-lambda, python, retrieve-stock-tweets, twitter-streaming-api
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tweetindex-lambda
[](https://www.codacy.com/app/suddir/tweetindex-lambda?utm_source=github.com&utm_medium=referral&utm_content=suddi/tweetindex-lambda&utm_campaign=Badge_Grade)
[](https://github.com/suddi/tweetindex-lambda)
AWS Lambda hosted RESTful API to retrieve stock tweets from Twitter's streaming API implemented in Python
## Requirements
* Python 2.7 (At the time of writing this, AWS Lambda only supports Python 2.7).
* Pip (~8.1.1)
* Virtualenv (~15.0.0)
* Virtualenvwrapper (~4.7.1)
## Setup
````
mkvirtualenv tweetindex-lambda
pip install -r requirements.txt
````
You will also need to setup the `~/.aws/credentials` file:
````
[default]
region =
aws_access_key_id =
aws_secret_access_key =
````
## Usage
To test out the usage:
````
lambda invoke
````
To deploy to AWS lambda:
````
lambda deploy
````