This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
from tweepy import Stream | |
from tweepy import OAuthHandler | |
from tweepy.streaming import StreamListener | |
from requests.packages.urllib3.exceptions import ProtocolError | |
from sheetsync import Sheet | |
import xml.etree.ElementTree as ElementTree | |
import json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<!--Load the AJAX API--> | |
<script type="text/javascript" src="https://www.google.com/jsapi"></script> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.2.js"></script> | |
<script type="text/javascript"> | |
// Load the Visualization API and the core charts package. | |
google.load('visualization', '1.0', { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Finding topics of interest by using the filtering capablities it offers. | |
import twitter | |
import json | |
import sys | |
import csv | |
csvfile = open('YOUR DATA BASE NAME.csv','a') | |
csvwriter = csv.writer(csvfile) | |
# == OAuth Authentication == |