Skip to content
This repository was archived by the owner on Jun 13, 2022. It is now read-only.

Latest commit

 

History

History
48 lines (28 loc) · 817 Bytes

File metadata and controls

48 lines (28 loc) · 817 Bytes

acrobits-websvc

Acrobits Web Services. You have to overwrite functions in main.py file.

async def get_balance(params: websvc.Params) -> balance.Balance:
    raise HTTPException(status.HTTP_501_NOT_IMPLEMENTED)
async def get_contacts(params: contacts.Params) -> contacts.Contacts:
    raise HTTPException(status.HTTP_501_NOT_IMPLEMENTED)
async def get_rate(params: rate.Params) -> rate.Rate:
    raise HTTPException(status.HTTP_501_NOT_IMPLEMENTED)

Installation

$ make

or

$ make docker

Example

To run localhost:

$ ./run.sh

To run in docker:

$ docker-compose up -d