Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Merk API Python client

Project Description
# merk-api-py

Merk API Python client

[![PyPI version](https://badge.fury.io/py/merk-api.svg)](https://badge.fury.io/py/merk-api)
[![Build Status](https://travis-ci.org/impercz/merk-api-py.svg?branch=master)](https://travis-ci.org/impercz/merk-api-py)

## Installation

pip install merk-api

## Usage

```python
from merkapi import Api

# by default client uses messagepack, but you can use less efficient json
a = Api('your_authentication_token', content_type='application/msgpack')

# get your subscriptions info (cz, sk)
r = a.subscriptions

# print returned dict
print(r.encdata)

# you can also access standard urllib3 response
print(r.data, r.status)

# implemented API calls

# suggest by 'regno', 'email' or 'name'
a.suggest(query, by, country_code)

# get full company data by regno
a.company(regno, country_code)

# multi get full company data
a.companies(regnos, country_code)

# get and cache enums
a.get_enums(country_code)
```

## Run tests

Client is tested in python 2.7 and 3.5. You can run tests in your environment:

cd project/root
py.test

or via tox:

cd project/root
tox

Release History

Release History

This version
History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
merk_api-0.0.6-py2.py3-none-any.whl (6.6 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Nov 16, 2016
merk-api-0.0.6.tar.gz (4.9 kB) Copy SHA256 Checksum SHA256 Source Nov 16, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting