https://github.com/paulokuong/lotame
Simple python SDK for Lotame API
https://github.com/paulokuong/lotame
api api-wrapper dmp dmps lotame python python3
Last synced: 2 months ago
JSON representation
Simple python SDK for Lotame API
- Host: GitHub
- URL: https://github.com/paulokuong/lotame
- Owner: paulokuong
- License: mit
- Created: 2019-04-02T16:34:41.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-07-07T06:43:07.000Z (almost 4 years ago)
- Last Synced: 2025-09-23T22:02:00.356Z (9 months ago)
- Topics: api, api-wrapper, dmp, dmps, lotame, python, python3
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 0
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/paulokuong/lotame)[](https://coveralls.io/github/paulokuong/lotame?branch=master)
Lotame API Wrapper
==================
Requirements
------------
* Python 3.7.0
Installation
------------
```
pip install lotame
```
Goal
----
To provide a generic wrapper Lotame API
Code sample
-----------
### Getting api object:
```python
from lotame import Api, Credentials, FirehoseService, BehaviorService
api = Api(Credentials(client_id='xxx', token='yyy', access='zzz'))
```
### Using different service classes for different endpoints:
```python
fs = FirehoseService(api=api)
updates = fs.getUpdates(hours=1)
```
```python
b = BehaviorService(api=api)
b.get('types')
```
Contributors
------------
* Paulo Kuong ([@pkuong](https://github.com/paulokuong))