The idea is that with a single API call, a user can calculate the distance and time traveled between an origin and an infinite number of destinations. While Google Maps is actually a collection of APIs, the Google Maps Distance Matrix. I think the Google Maps API is a good candidate to fit the bill here. ![]() To visualize the problem, let's take an example somebody might actually want to use. ![]() It felt like a rallying call at the time). Luckily, we code in Python! (okay fine, language doesn't make much of a difference here. Nobody feels like much of a "scientist" or an "engineer" when half their day becomes dealing with key value errors. ![]() It contains all the information you're looking for, but there's just one problem: the complexity of nested JSON objects is endless, and suddenly the job you love needs to be put on hold to painstakingly retrieve the data you actually want, and it's 5 levels deep in a nested JSON hell. There's an API you're working with, and it's great. We're all data people here, so you already know the scenario: it happens perhaps once a day, perhaps 5, or even more.
0 Comments
Leave a Reply. |