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 = u'This is an awesome article'
article.save()
article = models.Article.objects.create(
title=u'This is an awesome article',
)
article.delete()
```
License
--------
[MIT](https://github.com/lociii/billomat/blob/master/LICENSE.md)
=====================================================================================================
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 = u'This is an awesome article'
article.save()
article = models.Article.objects.create(
title=u'This is an awesome article',
)
article.delete()
```
License
--------
[MIT](https://github.com/lociii/billomat/blob/master/LICENSE.md)
Project details
Release history Release notifications | RSS feed
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.12.tar.gz
(9.1 kB
view details)
File details
Details for the file billomat-0.1.12.tar.gz
.
File metadata
- Download URL: billomat-0.1.12.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9a2813b6b779def91cc5c07045741efb432f7c069c22b696948cab8bfc81b49 |
|
MD5 | 7e07b1e86593f49653ed450878d11e44 |
|
BLAKE2b-256 | 11f5d71f5de93ca639d6ae0b02790e6860518ba14540c9584ae9be900b3a8edd |