I am new to the use of the API and hoping someone can help me with some basics. I have been unable to see any data, but have been able to get ‘Response 200’ from various URLs, so I assume I am doing something right. However when I try to view this data I get errors.
So i am using the approach in Python as below (with my own app id and key). This approach works with other APIs. Per above, I do get the ‘Response 200’ through. But also:
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
url = ‘https://api.tfl.gov.uk/swagger/ui/index.html?url=/swagger/docs/v1#!/BikePoint/BikePoint_GetAll?app_id=22222?app_key=abcd’
response = requests.get(url)
data = response.json()
Is there something else i need to do?