Skip to content

adamjuraczarnecki/py-baselinker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python BaseLinker API

py-baselinker is a Python client library for accessing the BaseLinker service.

Currently, library is BETA version and testing only on Python version 3.8.

Library not implement each of method from BaseLinker API Documentation yet.

Install

pip install py-baselinker

Usage example

last weeks orders:

from baselinker import BaseLinker
from datetime import datetime

bl = BaseLinker("https://api.baselinker.com/connector.php",'token')
date_from = datetime.strptime('2021-11-01', '%Y-%m-%d').timestamp()
bl.get_orders(date_from=date_from)
order_sources_list = bl.request('getOrderSources').json()['sources']
order_statuses_list = bl.request('getOrderStatusList').json()['statuses']

Versioning

Versioning is base on semver. The new version is release by a new tag.

Licence

This library is distributed under the BSD 3 Licence, see LICENSE for more information.

Contributing

Author of this library is Mikołaj Jeziorny.

If you want to help with development it - fork me!

About

Python library to communication with baselinker

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%