Skip to main content API client

Project description

Travis CI build status

Deprecation notice

This library is unmaintained! My employer stopped using billomat services. Therefore no fix or update will be done on this project anymore. If you're interested in taking over maintenance, let me know.

Python client for the API

The syntax of the client is inspired by the great Django ORM.

Example usage

from billomat import models
from billomat.base import Client

Client.api_name = 'apiname'
Client.api_key = 'apikey'

# set optional app-id and -secret
Client.app_id = 'app_id'
Client.app_secret = 'app_secret'

articles = models.Article.objects.all()
for article in articles:
    print unicode(article.title)
articles = articles.filter(title='Awesome')
for article in articles:
    print unicode(article.title)

article = models.Article.objects.get(article_number=2)
article.title = u'This is an awesome article'

article = models.Article.objects.create(
    title=u'This is an awesome article',

Django support

Automatic client configuration by django config is supported


The client sends 3 django signals:

  • billomatclient_request, send before the request
  • billomatclient_response, send after the request containing the response
  • billomatclient_error, send after a request error containing the exception

Each signal sends a request_id which is a unique identifier (uuid4) for each request to track the status along the signal flow.



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 billomat, version 0.1.32
Filename, size File type Python version Upload date Hashes
Filename, size billomat-0.1.32-py3-none-any.whl (11.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size billomat-0.1.32.tar.gz (10.9 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