web3-starter-py/fastapi-location-app/README.md
2022-03-26 08:14:44 +00:00

34 lines
383 B
Markdown

# Location API 🗺
Location API built with FastAPI. [Deployed in Vercel](https://choices-location-api.vercel.app/).
## Endpoint /location
Input data:
```
{"city": "berlin"}
```
Response:
```
{"lat":52.5186925,"lon":13.3996024,"tzone":1}
```
### Installing
```
virtualenv -p python3.9 venv
source venv/bin/activate
pipenv install
```
### Running
```
python3 main.py
```