aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2019-05-11 23:00:15 +0530
committerGitHub <noreply@github.com>2019-05-11 23:00:15 +0530
commit4ab155f47d8ba05cc8862017d07ab72e61e57ee7 (patch)
treeafed4b380f3da17de6189afa07ccda3597c51a69
parentdde981451570e3d4f843f2a275d05a664822fdc4 (diff)
Thanks GitGuardian
-rwxr-xr-xmain.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/main.py b/main.py
index e24980f..76b0721 100755
--- a/main.py
+++ b/main.py
@@ -30,6 +30,10 @@ import requests
######################
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 #
@@ -83,10 +87,10 @@ def get_api(cfg):
def tweet():
cfg = {
- "consumer_key" : "knQFpTnjuSvr6OxYwebt3wyrd",
- "consumer_secret" : "Mhex3oRkmaF7lD3hoMvHpAD6ctW0ugKYCopTlhc0JzOLOMIZ0w",
- "access_token" : "2846631344-wEozinvHfEIFxFVy51I6te8SrN5OTFtU00wxsiz",
- "access_token_secret" : "Nfx1U8a2TjAQXFLBrJIyy2p36sjBGAWFIthLc1cIoI56U"
+ "consumer_key" : consumer_key,
+ "consumer_secret" : consumer_secret,
+ "access_token" : access_token,
+ "access_token_secret" : access_token_secret
}
api = get_api(cfg)