Commit 629cf088 authored by rdecoupe's avatar rdecoupe
Browse files

credentials import

parent 7679fcd1
#### Twitter Credentials ####
credentials.py
#### Virtual Env ####
venv/
#### IDE ####
__pycache__/
.idea/
\ No newline at end of file
#!/usr/bin/env python
"""
Connect to Twitter stream using Twitter API and filter tweets which have to be retrieved with
- Account to follow : accountsFollowed.csv
- Hashtag to follow : keywordsFilter.csv
To install and run this script : please follow instructions from README.md
"""
try :
import credentials
except ImportError:
print('it seems there is no file named :"credentials.py"')
raise ImportError('it seems there is no file named :"credentials.py"')
if __name__ == '__main__':
print("Collect tweets : start")
print("Collect tweets : end")
\ No newline at end of file
consumer_key = 'your_consumer_key'
consumer_secret = 'your_consumer_secret'
access_token = 'your_access_token'
access_token_secret = 'your_access_token_secret'
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment