This file contains hidden or 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
| import requests | |
| import json | |
| from datetime import datetime | |
| import os | |
| import time | |
| import urllib | |
| SEARCH_OLD = False # True only returns one page | |
| LAT = 40.7 |
This file contains hidden or 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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Net; | |
| using System.IO; | |
| using System.Security.Cryptography; | |
| namespace Twitter | |
| { |
This file contains hidden or 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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Net; | |
| using System.IO; | |
| using System.Security.Cryptography; | |
| namespace Twitter | |
| { |
This file contains hidden or 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
| import codecs | |
| import sys | |
| from TwitterAPI import TwitterAPI, TwitterOAuth, TwitterRestPager | |
| # SAVE YOUR APPLICATION CREDENTIALS IN TwitterAPI/credentials.txt. | |
| o = TwitterOAuth.read_file() | |
| api = TwitterAPI(o.consumer_key, o.consumer_secret, o.access_token_key, o.access_token_secret) | |
This file contains hidden or 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
| import codecs | |
| import sys | |
| from TwitterAPI import TwitterAPI, TwitterOAuth | |
| # SAVE YOUR APPLICATION CREDENTIALS IN TwitterAPI/credentials.txt. | |
| o = TwitterOAuth.read_file() | |
| api = TwitterAPI(o.consumer_key, o.consumer_secret, o.access_token_key, o.access_token_secret) | |
NewerOlder