diff --git a/.gitignore b/.gitignore index e0cf110..092b454 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ # custom -api_keys.txt +api_keys.py # ---> Python # Byte-compiled / optimized / DLL files diff --git a/README.md b/README.md index 9e29d40..ff87fac 100644 --- a/README.md +++ b/README.md @@ -12,5 +12,6 @@ see api_keys.txt(not synced to git) ## API docs -https://openweathermap.org/current +- https://openweathermap.org/current +- https://developer.twitter.com/en/docs/twitter-api diff --git a/publish.py b/publish.py index 48fd7ed..473875e 100644 --- a/publish.py +++ b/publish.py @@ -1,9 +1,16 @@ +""" +import API keys, these variables are usable + +TWITTER_APIKEY +TWITTER_APISECRET +TWITTER_BEARER +TWITTER_ACCESSTOKEN +TWITTER_ACCESSSECRET +OWM_KEY +""" +from api_keys import * from TwitterAPI import TwitterAPI -twitter_consumerKey = 'NOKBXKUVfzXdG0fgkI0eDWF00' -twitter_consumerSecret = '3OFsRYQYFo2ZW5F7fZQ9Po6HHL4twVFPZAoy7aUum7cN0LZVZ1' -twitter_accessKey = '1308331480553267202-HE8MpxG7fGpAgHsbZaYdo5uHCurxDf' -twitter_accessSecret = 'TlEnSvUJefvrqP2wwNDFHTm5CdZiFz9YfQLTjkHoCqm9A'