File size: 1,578 Bytes
9c400b9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
"""
Constants representing the nuumber of seconds in a week.
"""
ONE_MONTH_IN_SECONDS : int = 86400 * 30
"""
Constants representing the nuumber of seconds in a week.
"""
ONE_WEEK_IN_SECONDS : int = 604800
"""
Constants representing the nuumber of seconds in a day.
"""
ONE_DAY_IN_SECONDS : int = 86400
"""
Constant representing the number of seconds in one hour.
"""
ONE_HOUR_IN_SECONDS : int = 3600
"""
Constant representing the number of seconds in one minute.
"""
ONE_MINUTE_IN_SECONDS : int = 60
"""
DEX_SCREENER_BASE_URL : str = "https://api.dexscreener.com/latest/dex/"
This constant is used to represent the base URL for DexScreener API.
It is defined as "https://api.dexscreener.com/latest/dex/".
"""
DEX_SCREENER_BASE_URL : str = "https://api.dexscreener.com/latest/dex/"
"""
JINA_SEARCH_BASE_ENDPOINT : str = "https://s.jina.ai/"
This constant is used to represent the base endpoint for Jina Search API.
It is defined as "https://s.jina.ai/".
"""
JINA_SEARCH_BASE_ENDPOINT : str = "https://s.jina.ai/"
"""
JINA_READER_BASE_ENDPOINT : str = "https://r.jina.ai/"
This constant is used to represent the base endpoint for Jina Reader API.
It is defined as "https://r.jina.ai/".
"""
JINA_READER_BASE_ENDPOINT : str = "https://r.jina.ai/"
"""
CRYPTO_COMPARE_BASE_URL: str = "https://min-api.cryptocompare.com/"
This constant is used to represent the base URL for CryptoCompare API.
It is defined as "https://min-api.cryptocompare.com/".
"""
CRYPTO_COMPARE_BASE_URL: str = "https://min-api.cryptocompare.com/"
# TTLs
SEARCH_DATA_TTL : int = ONE_WEEK_IN_SECONDS |