summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.