Hi I am working on a project that needs traffic data I am trying to use APIs like tomtom or HERE but i can't get it to work
All I want is to collect the traffic count (number of cars in each route) and stock it in pandas df
I tried this but it didn't give me traffic count
response = requests.get('https://api.tomtom.com/traffic/services/4/incidentDetails/s3/-35.871247%2C140.910645%2C-28.902397%2C153.566895/22/-1/json?key='+apiKey+'&projection=EPSG4326&originalPosition=true')
dict = json.loads(response.content)
print(dict)
keys = dict.keys()
values = dict.values()
I can use any other api instead of tomtom if it can provide data too