Jxck-S
4 years ago
4 changed files with 44 additions and 20 deletions
@ -0,0 +1,41 @@
|
||||
# Reference Links |
||||
|
||||
## ADSB Exchange |
||||
|
||||
- <https://www.adsbexchange.com/data/> |
||||
- <https://www.adsbexchange.com/datafields/> |
||||
|
||||
## OpenSky |
||||
|
||||
- <https://opensky-network.org/apidoc/> |
||||
|
||||
## GeoPy - Location Name Lookup |
||||
|
||||
- <https://geopy.readthedocs.io/en/stable/> |
||||
|
||||
## Google Static Maps |
||||
|
||||
- <https://www.geeksforgeeks.org/python-get-google-map-image-specified-location-using-google-static-maps-api/> |
||||
|
||||
## Twitter Tutorial |
||||
|
||||
- <https://realpython.com/twitter-bot-python-tweepy/> |
||||
|
||||
## Pushbullet |
||||
|
||||
- <https://github.com/rbrcsk/pushbullet.py> |
||||
|
||||
## Discord Webhooks |
||||
|
||||
- <https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks> |
||||
- <https://pypi.org/project/discord-webhook/> |
||||
|
||||
## Selenium - ChromeDriver, Screenshot ADSBX |
||||
|
||||
- <https://pypi.org/project/selenium/> |
||||
- <https://zwbetz.com/download-chromedriver-binary-and-add-to-your-path-for-automated-functional-testing/> |
||||
- <https://pythonspot.com/selenium-take-screenshot/> |
||||
- <https://sites.google.com/a/chromium.org/chromedriver/downloads> |
||||
- <https://tecadmin.net/setup-selenium-with-chromedriver-on-debian/> |
||||
- <https://blog.testproject.io/2018/02/20/chrome-headless-selenium-python-linux-servers/> |
||||
- <https://serverfault.com/questions/172076/how-to-find-the-browser-versions-from-command-line-in-linux-windows> |
@ -1,11 +1,8 @@
|
||||
# Authenticate to Twitter |
||||
import configparser |
||||
config = configparser.ConfigParser() |
||||
config.read('config.ini') |
||||
import tweepy |
||||
def tweepysetup(): |
||||
#DOCU |
||||
#https://realpython.com/twitter-bot-python-tweepy/ |
||||
auth = tweepy.OAuthHandler(config.get('TWITTER', 'CONSUMER_KEY'), config.get('TWITTER', 'CONSUMER_SECRET')) |
||||
auth.set_access_token(config.get('TWITTER', 'ACCESS_TOKEN'), config.get('TWITTER', 'ACCESS_TOKEN_SECRET')) |
||||
tweet_api = tweepy.API(auth, wait_on_rate_limit=True, wait_on_rate_limit_notify=True) |
||||
|
Loading…
Reference in new issue