Client libraries for API provided by Seldon.
- Seldon Basis with
BasisClient
$ python3 -m venv venv
$ . venv/bin/activate
$ pip install git+https://github.com/agladkov/seldon-api.git>>>fromseldonimportBasisClient>>>cl=BasisClient("_YOUR_BASIS_USER_", "_YOUR_BASIS_PASS_")
>>>orgs=cl.check_balance()
..(balanceoutput)..
>>>org=cl.get_company_card(ogrn="_YOUR_OGRN_")
>>>print(org)You can run some tests with API key provided for testing purpose.
$ git clone git@github.com:agladkov/seldon-api.git
$ cd seldon-api
$ python3 -m venv venv
$ . venv/bin/activate
$ pip install pytest pytest-flake8
$ export SELDON_USER="_YOUR_BASIS_USER_"
$ export SELDON_PASS="_YOUR_BASIS_PASS_"
$ pytest