This commit is contained in:
osiris account 2023-03-12 15:32:23 -07:00
parent 0696b08d04
commit 314bdf533e
94 changed files with 11 additions and 7 deletions

View file

@ -0,0 +1,36 @@
# Location API 🗺
Location API built with FastAPI.
<br>
## 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
```