Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nclsbayona authored Sep 25, 2023
1 parent afe2a92 commit 65cc398
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ async def getAnimals() -> Dict[str, str]:
the_response: Response = get("https://api.animality.xyz/img/kangaroo")
response: Dict[str, str] = the_response.json()
animals["animal_image11"] = response["image"]
the_response: Response = get("https://api.animality.xyz/img/bunny")
the_response: Response = get("https://api.animality.xyz/img/rabbit")
response: Dict[str, str] = the_response.json()
animals["animal_image12"] = response["image"]
the_response: Response = get("https://api.animality.xyz/img/lion")
Expand All @@ -342,6 +342,24 @@ async def getAnimals() -> Dict[str, str]:
the_response: Response = get("https://api.animality.xyz/img/capybara")
response: Dict[str, str] = the_response.json()
animals["animal_image18"] = response["image"]
the_response: Response = get("https://api.animality.xyz/img/hedgehog")
response: Dict[str, str] = the_response.json()
animals["animal_image19"] = response["image"]
the_response: Response = get("https://api.animality.xyz/img/turtle")
response: Dict[str, str] = the_response.json()
animals["animal_image20"] = response["image"]
the_response: Response = get("https://api.animality.xyz/img/narwhal")
response: Dict[str, str] = the_response.json()
animals["animal_image21"] = response["image"]
the_response: Response = get("https://api.animality.xyz/img/squirrel")
response: Dict[str, str] = the_response.json()
animals["animal_image22"] = response["image"]
the_response: Response = get("https://api.animality.xyz/img/fish")
response: Dict[str, str] = the_response.json()
animals["animal_image23"] = response["image"]
the_response: Response = get("https://api.animality.xyz/img/horse")
response: Dict[str, str] = the_response.json()
animals["animal_image24"] = response["image"]

return animals

Expand Down

0 comments on commit 65cc398

Please sign in to comment.