Cleanup documenation in files, Move Refrences
This commit is contained in:
parent
27c685f5e0
commit
3b42183a36
13
README.md
13
README.md
|
|
@ -103,14 +103,7 @@ python3 NotifyBot.py
|
|||
|
||||
### TODO
|
||||
|
||||
Move the lookup location of coordinates so that it only rungs when landing or takeoff occurs. So then Geopy/Nomination API is called less
|
||||
- Possibly implement airport name, done by closest airport
|
||||
- General Cleanup
|
||||
|
||||
Implement airport name, done by closest airport
|
||||
|
||||
#### Refrences
|
||||
|
||||
- <https://opensky-network.org/apidoc/>
|
||||
- <https://geopy.readthedocs.io/en/stable/>
|
||||
- <https://www.geeksforgeeks.org/python-get-google-map-image-specified-location-using-google-static-maps-api/>
|
||||
- <https://realpython.com/twitter-bot-python-tweepy/>
|
||||
- <https://github.com/rbrcsk/pushbullet.py>
|
||||
### [ More Refrences / Documentation](Refrences.md)
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
7
defSS.py
7
defSS.py
|
|
@ -1,10 +1,3 @@
|
|||
#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
|
||||
from selenium import webdriver
|
||||
import time
|
||||
def getSS(icao):
|
||||
|
|
|
|||
|
|
@ -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