using imports.py on all external APIs
This commit is contained in:
@@ -52,8 +52,6 @@ def get_underarmour_workout_list(user):
|
||||
'Content-Type': 'application/json'}
|
||||
url = "https://api.ua.com/v7.1/workout/?user="+str(get_userid(r.underarmourtoken))+"&order_by=-start_datetime"
|
||||
|
||||
print url
|
||||
|
||||
s = requests.get(url,headers=headers)
|
||||
|
||||
|
||||
@@ -216,7 +214,6 @@ def get_idfromuri(user,links):
|
||||
id = links['self'][0]['id']
|
||||
typeid = links['activity_type'][0]['id']
|
||||
|
||||
|
||||
typename = get_typefromid(typeid,user)
|
||||
|
||||
return id,typename
|
||||
|
||||
Reference in New Issue
Block a user