Skip to main content

Simplified Python library for accessing the Mapillary API.

Project description

simple-mapillary-python-sdk PyPI

Simplified Python library for accessing the Mapillary API. For a more complete library, check out the official mapillary-python-sdk.

Installation

pip install simple-mapillary

Or clone the repository and install it manually:

git clone https://github.com/ibaiGorordo/simple-mapillary-python-sdk
cd simple-mapillary-python-sdk
pip install .

Setup

First, you need to get an access token. To get one:

Then, pass the token as an argument to the set_access_token() function.

Example (Read image)

from simple_mapillary import Image, set_access_token
import cv2

token = ""
set_access_token(token)

image_id = "1200479493800436"
image = Image(image_id)

img = image.get_cvimage()

cv2.imshow('image', img)
cv2.waitKey(0)
cv2.destroyAllWindows()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple_mapillary-0.0.3.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_mapillary-0.0.3-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file simple_mapillary-0.0.3.tar.gz.

File metadata

  • Download URL: simple_mapillary-0.0.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.0

File hashes

Hashes for simple_mapillary-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e476a758476dd5473935a2d16b0801da019c8e1402f4f2f7db6885db54a37729
MD5 f5fa168a900cc9c8128f78dfa38bf26f
BLAKE2b-256 b8ffc0fd11bb152e4bd9b7e570b6ddb208a277fd0e33bf6cfdceedcee609d62d

See more details on using hashes here.

File details

Details for the file simple_mapillary-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_mapillary-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5916e5864a19d2b08525c1cf3b39615dedb8c98572294aa77572d4c0fce7b6e1
MD5 ee0300acfff35cbbd7661a269ab643fe
BLAKE2b-256 8cde2db249165ebff4ed73f6b05223c7128c9d82d73261f32acf633f57c88fec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page