summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRasmus Luha <rasmus.luha@gmail.com>2022-03-17 18:04:24 +0200
committerRasmus Luha <rasmus.luha@gmail.com>2022-03-17 18:04:24 +0200
commit6d6a6a8ac331135aa26320c532f47f25872d4243 (patch)
treee83b099a025899bcfa41559a1a4c6588e00f8724 /README.md
parent98e375682a50f3cdeddc8e6af022d1e8d12f608d (diff)
fix importing modules, add readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md
index e69de29..1aca4e8 100644
--- a/README.md
+++ b/README.md
@@ -0,0 +1,20 @@
+# Overview
+This project has the functionality to fetch data about NBA and store it in csv format files.
+It also has an API to serve the data. API can be accessed here.
+
+## How to use
+### 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
+'''
+* For player information, the endpoint is "/players/{team_name}
+ - you can get the team name from fetching the teams data.
+ - Examples: Bulls, Celtics, Hawks, Nets, Hornets.
+ '''
+ https//:{api_url}/players/celtics
+ https//:{api_url}/players/hawks
+ '''
+ - NB: you shouldn't use the "full_name", like "Chicago Bulls".
+