senvend-api
Public APIs to interact with the SENVEND ecosystem.
This package contains the generated Python client for the SENVEND API, built
with betterproto2. It provides the
synchronous client - for the asyncio client see
senvend-api-async.
Installation
pip install senvend-api
grpcio is installed with it, the synchronous stubs require it.
Usage
The API runs on SENVEND Payment Terminals and is reachable over your local
network. Enable and configure it in the terminal settings on
my.senvend.com; by default it listens on port
11111.
Messages live in senvend_api.api.v1, the service stubs in
senvend_api.local.v1:
import grpc
from senvend_api.api.v1 import VersionRequest
from senvend_api.local.v1 import VersionServiceStub
with grpc.insecure_channel("192.168.0.10:11111") as channel:
print(VersionServiceStub(channel).version(VersionRequest()))
A runnable payment example is included in the
repository.
Documentation
If you need help during your integration and want to handle it confidentially,
reach out via api@senvend.com.
License
Licensed under either of
Apache License, Version 2.0 or
MIT license at your option.