https://github.com/mrglaster/fastapi-apimedic-server
A Python server (FastAPI) that simplifies the work with the ApiMedic service. Send simpler requests to your server and get the result from the service.
https://github.com/mrglaster/fastapi-apimedic-server
api-client apimedic apimedic-api client fastapi python server server-side-api
Last synced: 3 months ago
JSON representation
A Python server (FastAPI) that simplifies the work with the ApiMedic service. Send simpler requests to your server and get the result from the service.
- Host: GitHub
- URL: https://github.com/mrglaster/fastapi-apimedic-server
- Owner: mrglaster
- Created: 2023-05-05T14:06:21.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-06T02:56:19.000Z (about 2 years ago)
- Last Synced: 2025-01-15T07:11:36.583Z (4 months ago)
- Topics: api-client, apimedic, apimedic-api, client, fastapi, python, server, server-side-api
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### FastAPI ApiMedic Server
A Python server (FastAPI) that simplifies the work with the ApiMedic service. Send simpler requests to your server and get the result from the service. This server uses client code from the [priaid-eHealth project](https://github.com/priaid-eHealth/symptomchecker)### How to use?
1) Install required dependencies with command
``` pip install -r requirements.txt```
2) Add your auth data to cfg/config.py
```
username = "USE YOUR OWN!" # Here enter your API user name
password = "USE YOUR OWN!" # Here enter your API password
priaid_authservice_url = "https://authservice.priaid.ch/login"
priaid_healthservice_url = "https://healthservice.priaid.ch"
language = "en-gb"
pritnRawOutput = False
```3) Run the server
4) Profit!### Links
1) [priaid-eHealth project](https://github.com/priaid-eHealth/symptomchecker)
2) [Symptom Checker API](https://apimedic.com/)
3) [FastAPI](https://fastapi.tiangolo.com/)