cleanup
This commit is contained in:
		
							
								
								
									
										11
									
								
								apis/sbb.py
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								apis/sbb.py
									
									
									
									
									
								
							| @@ -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() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Miupro
					Miupro