Download Mapilarry images with API v4

@Thibaultmol I have had success downloading 4032 x 3024 images. I query the api like this (substituting in a token generated with your user account):

https://graph.mapillary.com/885713975611091?access_token=[TOKEN]&fields=thumb_original_url,computed_geometry,captured_at,computed_compass_angle

Which results in:

{
   "thumb_original_url": "https://scontent-iad3-2.xx.fbcdn.net/m1/v/t6/An-K28-4ZDHtn_D1utSE28SXEx9akev6ZekgvzlzX4HyM4MUFlR1zu-T4uoNYBLiLTtxbGTXqExrPBp7pwDUf424Insuv2Fnb6wCLmgsd_71DMFMMHkCljIQVm5Q4hRZuIvFQ1iV-a-VwJvQDH_zTg?ccb=10-5&oh=00_AT-xbgaBFn0qRG3_UgX2EGW8RRaEeTEiiwU3A21j0YLUJg&oe=623EDD1B&_nc_sid=122ab1",
   "computed_geometry": {
      "type": "Point",
      "coordinates": [
         -76.562528800551,
         39.302827169134
      ]
   },
   "captured_at": 1482076899255,
   "computed_compass_angle": 169.20261201305,
   "id": "885713975611091"
}

Then you can copy ‘thumb_original_url’ and download from there. From what I can tell, these urls are generated on a temporary basis, because I had initially tried bookmarking them, and they stopped working later on. So it makes sense to download them right away and/or save the query string so you can regenerate new URLs later.

3 Likes