Thanks GitGuardian

This commit is contained in:
Navan Chauhan 2019-05-11 23:00:15 +05:30 committed by GitHub
parent dde9814515
commit 4ab155f47d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 4 deletions

12
main.py
View File

@ -30,6 +30,10 @@ import requests
###################### ######################
radius = str(100) # Radius for maxspeed function. taken as a string because gets concatenated in the function radius = str(100) # Radius for maxspeed function. taken as a string because gets concatenated in the function
consumer_key = ""
consumer_secret = ""
access_token = ""
access_token_secret = ""
################ ################
# Dummy Values # # Dummy Values #
@ -83,10 +87,10 @@ def get_api(cfg):
def tweet(): def tweet():
cfg = { cfg = {
"consumer_key" : "knQFpTnjuSvr6OxYwebt3wyrd", "consumer_key" : consumer_key,
"consumer_secret" : "Mhex3oRkmaF7lD3hoMvHpAD6ctW0ugKYCopTlhc0JzOLOMIZ0w", "consumer_secret" : consumer_secret,
"access_token" : "2846631344-wEozinvHfEIFxFVy51I6te8SrN5OTFtU00wxsiz", "access_token" : access_token,
"access_token_secret" : "Nfx1U8a2TjAQXFLBrJIyy2p36sjBGAWFIthLc1cIoI56U" "access_token_secret" : access_token_secret
} }
api = get_api(cfg) api = get_api(cfg)