mirror of
https://github.com/bvanroll/rpiRadio.git
synced 2025-08-29 20:12:43 +00:00
Initial Commit
This commit is contained in:
21
ProjectBefore/PythonCode/Midi/TwitterExp.py
Normal file
21
ProjectBefore/PythonCode/Midi/TwitterExp.py
Normal file
@@ -0,0 +1,21 @@
|
||||
import twitter
|
||||
import json
|
||||
import requests
|
||||
import _pickle as pickle
|
||||
import sys
|
||||
import schedule
|
||||
import time
|
||||
|
||||
consumer_key = ''
|
||||
consumer_secret = ''
|
||||
access_token = ''
|
||||
access_token_secret = ''
|
||||
|
||||
|
||||
api=twitter.Api(consumer_key=consumer_key,
|
||||
consumer_secret=consumer_secret,
|
||||
access_token_key=access_token,
|
||||
access_token_secret=access_token_secret)
|
||||
|
||||
for line in api.getstreamfilter():
|
||||
print (line)
|
Reference in New Issue
Block a user