This commit is contained in:
Miupro 2021-10-31 00:31:29 +02:00
parent 2f9382eb2b
commit 310e521b80

View File

@ -26,6 +26,9 @@ class SBBWrapper:
# 'X-Conversation-Id': str(conv_id),
}
return auth
"""
sbb=SBBWrapper()
print(sbb.wrapper.get('name':'Bern'))
@ -36,17 +39,13 @@ header_dict = {'api_key' : '814d86a3ffc49c350bb7dcc48cac69b3'}
response = requests.get('https://journey-maps.api.sbb.ch:443', headers=header_dict)
print(response.text)
"""
"""
header_dict = {'api_key' : 'xxxxx'}
response = requests.get('https://journey-pois-int.api.sbb.ch/', headers=header_dict)
print(response)
"""
""""
"""
header_dict = {'key':'yourtest-outdoora-ctiveapi',
'project' : 'api-dev-oa' }
response = requests.get('http://www.outdooractive.com/api', headers=header_dict).json()