I hereby claim:
- I am eerien on github.
- I am eerien (https://keybase.io/eerien) on keybase.
- I have a public key whose fingerprint is F6EA 0D1C 16A6 6B58 E47A E59B A439 6D42 EFAD 7DCF
To claim this, I am signing this object:
| import requests | |
| import json | |
| class ZabbixAPI(): | |
| ZBX_COMMON_HEADERS = {'Content-Type': 'application/json-rpc'} | |
| def __init__(self, url, username, password): | |
| self.url = url | |
| self._login(username, password) |
I hereby claim:
To claim this, I am signing this object:
| class Paginator(object): | |
| def __init__(self, object_list, per_page=10, latest_id=None, latest_id_field='id', order_by='desc'): | |
| assert type(latest_id_field) == str | |
| self.object_list = object_list | |
| self.per_page = per_page | |
| self.latest_id = latest_id | |
| self.latest_id_field = latest_id_field | |
| self.order_by = order_by |