A while ago I wrote a script to get data from the Mapillary API v3 and that was pretty easy to do so. But in the mean time v3 of their API was discontinued, so I had to rewrite my script to use v4 of the API, but it took me a while to figure out how to talk to the v4 API using Python.
Below you can find a simple example of how to get info on available images around a certain longitude and latitude. Of course you can incorporate this concept into a larger script to get data from multiple points, that can for example be stored in a database. But for this example we’ll just request info on available Mapillary imagery for one set of coordinates and show the information.
Continue reading “How to get data from the Mapillary API v4 using Python”