Skip to content

Commit 06f7692

Browse files
committed
update: app.py (GOT warriors) branch: mau/2
1 parent 2a32612 commit 06f7692

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

API_Python/app.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,8 @@ def get_superheroes_marvel():
2424
def get_warriors_lotr():
2525
rows = ["Frodo", "Sam", "Gandalf", "Aragorn", "Legolas", "Gimli", "Boromir", "Gollum"]
2626
return rows
27+
28+
@app.get("/warriorsGOT")
29+
def get_warriors_got():
30+
rows = ["Jon Snow", "Daenerys Targaryen", "Arya Stark", "Tyrion Lannister", "Cersei Lannister", "Jaime Lannister", "Bran Stark", "Sansa Stark"]
31+
return rows

0 commit comments

Comments
 (0)