1

rework api import

This commit is contained in:
ventilaar 2020-10-04 13:29:44 +02:00
parent 2817b899df
commit bb9ee3afed
3 changed files with 14 additions and 6 deletions

2
.gitignore vendored
View File

@ -1,5 +1,5 @@
# custom
api_keys.txt
api_keys.py
# ---> Python
# Byte-compiled / optimized / DLL files

View File

@ -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

View File

@ -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'