From 13985ac694283f1f8d3ca802cccef851ed966e20 Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Thu, 17 Mar 2022 18:12:18 +0200 Subject: add Procfile --- Procfile | 1 + README.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 Procfile diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..d6008a6 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: uvicorn api.main:app diff --git a/README.md b/README.md index 1aca4e8..1176168 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ It also has an API to serve the data. API can be accessed here. ### API From the api you can fetch data as follows: * For teams, the endpoint is "/teams" and you can fetch data as follows: -''' - https//:{api_url}/teams +'''bash + https//:{api_url}/teams ''' * For player information, the endpoint is "/players/{team_name} - you can get the team name from fetching the teams data. -- cgit v1.2.3