Wikimapia API for Python
Python
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.rst

Build status Test coverage percentage Documentation status

Wikimapia API for Python

Wikimapia is an open-content collaborative map project. This library is a Python (2.7, 3.3 and 3.4) implementation of wikimapia api.

Documentation available in tutorial.

Installation

Library is in prerelease stage, so use --pre option:

pip install --pre wikimapia_api

Usage

from wikimapia_api import API

API.config.key = 'YOUR WIKIMAPIA API KEY'
print(API.places[55])

Testing

Firstly, clone git repository:

git clone https://github.com/cybernetlab/wikimapia_api_py wikimapia_api

For developing and testing you should install additional packages:

cd wikimapia_api
python setup.py develop
pip install -r requirements.txt

To run tests execute:

python -m unittest discover

TODO

  1. Logging (in progress)
  2. Doc comments in sources
  3. Enlage test coverage