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
- Logging (in progress)
- Doc comments in sources
- Enlage test coverage