Client¶
cyhole.dex_screener.client
¶
DexScreenerClient
¶
DexScreenerClient(
interaction: DexScreener, headers: Any | None = None
)
Bases: APIClient
flowchart TD
cyhole.dex_screener.client.DexScreenerClient[DexScreenerClient]
cyhole.core.client.APIClient[APIClient]
cyhole.core.client.APIClientInterface[APIClientInterface]
cyhole.core.client.APIClient --> cyhole.dex_screener.client.DexScreenerClient
cyhole.core.client.APIClientInterface --> cyhole.core.client.APIClient
click cyhole.dex_screener.client.DexScreenerClient href "" "cyhole.dex_screener.client.DexScreenerClient"
click cyhole.core.client.APIClient href "" "cyhole.core.client.APIClient"
click cyhole.core.client.APIClientInterface href "" "cyhole.core.client.APIClientInterface"
Client for synchronous API calls for DexScreener interaction.
Source code in src/cyhole/dex_screener/client.py
25 26 27 | |
get_token_profiles_latest
¶
get_token_profiles_latest() -> (
GetTokenProfilesLatestResponse
)
Call the DexScreener's GET Token Profiles Latest API endpoint for synchronous logic.
All the API endpoint details are available on DexScreener._get_token_profiles_latest.
Source code in src/cyhole/dex_screener/client.py
29 30 31 32 33 34 | |
get_community_takeover
¶
get_community_takeover() -> GetCommunityTakeoverResponse
Call the DexScreener's GET Community Takeovers Latest API endpoint for synchronous logic.
All the API endpoint details are available on DexScreener._get_community_takeover.
Source code in src/cyhole/dex_screener/client.py
36 37 38 39 40 41 | |
get_ads_latest
¶
get_ads_latest() -> GetAdsLatestResponse
Call the DexScreener's GET Ads Latest API endpoint for synchronous logic.
All the API endpoint details are available on DexScreener._get_ads_latest.
Source code in src/cyhole/dex_screener/client.py
43 44 45 46 47 48 | |
get_token_boosts_latest
¶
get_token_boosts_latest() -> GetTokenBoostsLatestResponse
Call the DexScreener's GET Token Boosts Latest API endpoint for synchronous logic.
All the API endpoint details are available on DexScreener._get_token_boosts_latest.
Source code in src/cyhole/dex_screener/client.py
50 51 52 53 54 55 | |
get_token_boosts_top
¶
get_token_boosts_top() -> GetTokenBoostsTopResponse
Call the DexScreener's GET Token Boosts Top API endpoint for synchronous logic.
All the API endpoint details are available on DexScreener._get_token_boosts_top.
Source code in src/cyhole/dex_screener/client.py
57 58 59 60 61 62 | |
get_orders
¶
get_orders(
chain_id: str, token_address: str
) -> GetOrdersResponse
Call the DexScreener's GET Orders API endpoint for synchronous logic.
All the API endpoint details are available on DexScreener._get_orders.
Source code in src/cyhole/dex_screener/client.py
64 65 66 67 68 69 | |
get_pairs
¶
get_pairs(chain_id: str, pair_id: str) -> GetPairsResponse
Call the DexScreener's GET Pairs API endpoint for synchronous logic.
All the API endpoint details are available on DexScreener._get_pairs.
Source code in src/cyhole/dex_screener/client.py
71 72 73 74 75 76 | |
get_tokens
¶
get_tokens(
chain_id: str, token_addresses: str
) -> GetTokensResponse
Call the DexScreener's GET Tokens API endpoint for synchronous logic.
All the API endpoint details are available on DexScreener._get_tokens.
Source code in src/cyhole/dex_screener/client.py
78 79 80 81 82 83 | |
get_token_pairs
¶
get_token_pairs(
chain_id: str, token_address: str
) -> GetTokenPairsResponse
Call the DexScreener's GET Token Pairs API endpoint for synchronous logic.
All the API endpoint details are available on DexScreener._get_token_pairs.
Source code in src/cyhole/dex_screener/client.py
85 86 87 88 89 90 | |
get_search
¶
get_search(query: str) -> GetSearchResponse
Call the DexScreener's GET Search API endpoint for synchronous logic.
All the API endpoint details are available on DexScreener._get_search.
Source code in src/cyhole/dex_screener/client.py
92 93 94 95 96 97 | |
DexScreenerAsyncClient
¶
DexScreenerAsyncClient(
interaction: DexScreener, headers: Any | None = None
)
Bases: AsyncAPIClient
flowchart TD
cyhole.dex_screener.client.DexScreenerAsyncClient[DexScreenerAsyncClient]
cyhole.core.client.AsyncAPIClient[AsyncAPIClient]
cyhole.core.client.APIClientInterface[APIClientInterface]
cyhole.core.client.AsyncAPIClient --> cyhole.dex_screener.client.DexScreenerAsyncClient
cyhole.core.client.APIClientInterface --> cyhole.core.client.AsyncAPIClient
click cyhole.dex_screener.client.DexScreenerAsyncClient href "" "cyhole.dex_screener.client.DexScreenerAsyncClient"
click cyhole.core.client.AsyncAPIClient href "" "cyhole.core.client.AsyncAPIClient"
click cyhole.core.client.APIClientInterface href "" "cyhole.core.client.APIClientInterface"
Client for asynchronous API calls for DexScreener interaction.
Source code in src/cyhole/dex_screener/client.py
103 104 105 | |
get_token_profiles_latest
async
¶
get_token_profiles_latest() -> (
GetTokenProfilesLatestResponse
)
Call the DexScreener's GET Token Profiles Latest API endpoint for asynchronous logic.
All the API endpoint details are available on DexScreener._get_token_profiles_latest.
Source code in src/cyhole/dex_screener/client.py
107 108 109 110 111 112 | |
get_community_takeover
async
¶
get_community_takeover() -> GetCommunityTakeoverResponse
Call the DexScreener's GET Community Takeovers Latest API endpoint for asynchronous logic.
All the API endpoint details are available on DexScreener._get_community_takeover.
Source code in src/cyhole/dex_screener/client.py
114 115 116 117 118 119 | |
get_ads_latest
async
¶
get_ads_latest() -> GetAdsLatestResponse
Call the DexScreener's GET Ads Latest API endpoint for asynchronous logic.
All the API endpoint details are available on DexScreener._get_ads_latest.
Source code in src/cyhole/dex_screener/client.py
121 122 123 124 125 126 | |
get_token_boosts_latest
async
¶
get_token_boosts_latest() -> GetTokenBoostsLatestResponse
Call the DexScreener's GET Token Boosts Latest API endpoint for asynchronous logic.
All the API endpoint details are available on DexScreener._get_token_boosts_latest.
Source code in src/cyhole/dex_screener/client.py
128 129 130 131 132 133 | |
get_token_boosts_top
async
¶
get_token_boosts_top() -> GetTokenBoostsTopResponse
Call the DexScreener's GET Token Boosts Top API endpoint for asynchronous logic.
All the API endpoint details are available on DexScreener._get_token_boosts_top.
Source code in src/cyhole/dex_screener/client.py
135 136 137 138 139 140 | |
get_orders
async
¶
get_orders(
chain_id: str, token_address: str
) -> GetOrdersResponse
Call the DexScreener's GET Orders API endpoint for asynchronous logic.
All the API endpoint details are available on DexScreener._get_orders.
Source code in src/cyhole/dex_screener/client.py
142 143 144 145 146 147 | |
get_pairs
async
¶
get_pairs(chain_id: str, pair_id: str) -> GetPairsResponse
Call the DexScreener's GET Pairs API endpoint for asynchronous logic.
All the API endpoint details are available on DexScreener._get_pairs.
Source code in src/cyhole/dex_screener/client.py
149 150 151 152 153 154 | |
get_tokens
async
¶
get_tokens(
chain_id: str, token_addresses: str
) -> GetTokensResponse
Call the DexScreener's GET Tokens API endpoint for asynchronous logic.
All the API endpoint details are available on DexScreener._get_tokens.
Source code in src/cyhole/dex_screener/client.py
156 157 158 159 160 161 | |
get_token_pairs
async
¶
get_token_pairs(
chain_id: str, token_address: str
) -> GetTokenPairsResponse
Call the DexScreener's GET Token Pairs API endpoint for asynchronous logic.
All the API endpoint details are available on DexScreener._get_token_pairs.
Source code in src/cyhole/dex_screener/client.py
163 164 165 166 167 168 | |
get_search
async
¶
get_search(query: str) -> GetSearchResponse
Call the DexScreener's GET Search API endpoint for asynchronous logic.
All the API endpoint details are available on DexScreener._get_search.
Source code in src/cyhole/dex_screener/client.py
170 171 172 173 174 175 | |