Metadata-Version: 2.1
Name: syspass-api-client
Version: 0.1.3
Summary: sysPass API client library for Python.
Home-page: https://github.com/sysPass/syspass-api-client-python
Author: Rubén Domínguez
Author-email: nuxsmin@syspass.org
License: Apache 2.0
Project-URL: Source, https://github.com/sysPass/syspass-api-client-python
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.5
Description-Content-Type: text/markdown
Requires-Dist: requests

## sysPass API Client for Python

[![Build Status](https://travis-ci.org/sysPass/syspass-api-client-python.svg?branch=master)](https://travis-ci.org/sysPass/syspass-api-client-python)

This API client aims to be a core library for those projects based on Python and require to connect to a sysPass instance.

It has all the methods currently implemented (as of sysPass v3.1) and can be easily extended to future extensions.

### Installation

```$ pipenv install syspass_api_client```

### Usage

The following environment variables could be used:

* SYSPASS_API_URL
* SYSPASS_API_TOKEN
* SYSPASS_API_TOKEN_PASS
* SYSPASS_TLS_VERIFY

```python
from syspass_api_client import api, account

o_api = api.JsonRpcApi()
o_account = account.Account(o_api)

for account_data in o_account.search():
    print(account_data)
```

