Skip to main content

billomat.com API client

Project description

Python client for the [billomat.com](http://www.billomat.com) [API](http://www.billomat.com/en/api/)
=====================================================================================================

The syntax of the client is inspired by the great [Django ORM](https://docs.djangoproject.com/en/dev/topics/db/queries/).

Example usage
--------------
```python
from billomat import models
from billomat.base import Client

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

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 = 'This is an awesome article'
article.save()

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

ToDo
-----
* Implement remaining models
* Support sorting

License
--------
[MIT](https://github.com/lociii/billomat/blob/master/LICENSE.md)

Project details


Download files

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

Source Distribution

billomat-0.1.1.tar.gz (9.4 kB view details)

Uploaded Source

File details

Details for the file billomat-0.1.1.tar.gz.

File metadata

  • Download URL: billomat-0.1.1.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for billomat-0.1.1.tar.gz
Algorithm Hash digest
SHA256 de99e42165c799f53268dc2c2f4cfb1d57c670b95f8eacd1913b03ea29d08768
MD5 828ea6f49ee4cf994c13dcc7d4e8c181
BLAKE2b-256 a705d08c37cfed8c54926121c63f08234825e45759a1c2063d00d309ab16cbd6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page