Skip to main content

Open Street Map API Wrapper in Python

Project description

This Project is currently in Alpha

all requests are directed to https://master.apis.dev.openstreetmap.org

PYOSMAPI

A OSM-Edit API Interface written in Python

Description

This Project is forked from repository osmate I saw the need to write my own code to access the OSM-API for editing. My second requirement was to be able to use OAuth which I haven’t found In any other Python OSM-API yet.

Installation

the project is now on pip, so now it is just as easy as

pip install pyosmapi

after that import osm.osm_api

import pyosmapi.osm_api
api = pyosmapi.osm_api.OsmApi()
#init with '' or Fales access testserver (https://master.apis.dev.openstreetmap.org)
#by initializing OsmApi(True) you can access the live server
api.get_current_user((<osm-username>, <osm-password>))

I wrote some documentation to every public method. I’ve Implemented all methods from the API v0.6, excluding reduction

Support

Please create an Issue in github for any Bugs and Feature requests. For direct contact to me please write a PM via OSM here. If you want to support me, consider to Donate any amount you like.

Project details


Download files

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

Files for pyosmapi, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size pyosmapi-0.0.1-py3-none-any.whl (13.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyosmapi-0.0.1.tar.gz (14.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page