Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ quote_of_the_day
Function
quote_of_the_day
web_programming/fetch_quotes.py:23–24 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
21
22
23
def
quote_of_the_day() -> list:
24
return
httpx.get(API_ENDPOINT_URL +
"/today"
, timeout=10).json()
25
26
27
def
random_quotes() -> list:
Callers
nothing calls this directly
Calls
2
json
Method · 0.80
get
Method · 0.45
Tested by
no test coverage detected