diff options
author | Rasmus Luha <rasmus.luha@gmail.com> | 2022-03-17 18:12:18 +0200 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@gmail.com> | 2022-03-17 18:12:18 +0200 |
commit | 13985ac694283f1f8d3ca802cccef851ed966e20 (patch) | |
tree | 868e323545c69bb9fbb122e5edf0dc615d4054ba | |
parent | 6d6a6a8ac331135aa26320c532f47f25872d4243 (diff) |
add Procfile
-rw-r--r-- | Procfile | 1 | ||||
-rw-r--r-- | README.md | 4 |
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 @@ -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. |