Skip to content

Commit 7b60bef

Browse files
committed
all artists endpoint
1 parent 78209af commit 7b60bef

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

SpotifyCollabGraph/main.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
from fastapi import FastAPI
2+
import connectTest
23

34
app = FastAPI()
45

56

67
@app.get("/")
78
async def root():
8-
return {"message": "Hello World"}
9+
return {"message": "asta e API-u. felicitari, mergi pe /artists"}
10+
11+
12+
@app.get("/artists/")
13+
async def root():
14+
return connectTest.artists_test_query()

0 commit comments

Comments
 (0)