summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Luha <rasmus.luha@gmail.com>2022-03-17 18:12:18 +0200
committerRasmus Luha <rasmus.luha@gmail.com>2022-03-17 18:12:18 +0200
commit13985ac694283f1f8d3ca802cccef851ed966e20 (patch)
tree868e323545c69bb9fbb122e5edf0dc615d4054ba
parent6d6a6a8ac331135aa26320c532f47f25872d4243 (diff)
add Procfile
-rw-r--r--Procfile1
-rw-r--r--README.md4
2 files changed, 3 insertions, 2 deletions
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.