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.6.tar.gz
(9.4 kB
view details)
File details
Details for the file billomat-0.1.6.tar.gz
.
File metadata
- Download URL: billomat-0.1.6.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54862413b36455c32f1eb32788bc42b8ce6aae6c4c397d007c00f4045a120693 |
|
MD5 | 9a297790897263c5dfd102e7951aa6b1 |
|
BLAKE2b-256 | 3b650c563eace2aecf2eceeefbfd3f09d0ff741a4db4b8d6289bf7bd3e729cdd |