Prêmios
prizesnamespaceEstatísticas e ganhadores de prêmios instantâneos.
2métodos
prizesnamespaceEsta página é gerada automaticamente pelo
@luckymaker/sdk-generator. Não edite manualmente.
listInstantStats
Seção intitulada “listInstantStats”GET
/prizes/instant/statsAssinatura:
listInstantStats(query?: ListInstantStatsQuery, settings?: SdkSettings): Promise<ListInstantStatsResponse>| Nome | Tipo | Obrigatório |
|---|---|---|
page |
number |
não |
type ListInstantStatsQuery = { "page"?: number; };type ListInstantStatsResponse = unknown;Exemplo
Seção intitulada “Exemplo”const response = await sdk.prizes.listInstantStats();Testar esta função no playground
listInstantWinnersHomepageShowcase
Seção intitulada “listInstantWinnersHomepageShowcase”GET
/prizes/instant/winnersAssinatura:
listInstantWinnersHomepageShowcase(query?: ListInstantWinnersHomepageShowcaseQuery, settings?: SdkSettings): Promise<ListInstantWinnersHomepageShowcaseResponse>| Nome | Tipo | Obrigatório |
|---|---|---|
limit |
number |
não |
hideVirtual |
boolean |
não |
type ListInstantWinnersHomepageShowcaseQuery = { "limit"?: number; "hideVirtual"?: boolean; };type ListInstantWinnersHomepageShowcaseResponse = { "winners": Array<{ "name": string; "value": number; "ticketNumber"?: string; }>; };Exemplo
Seção intitulada “Exemplo”const response = await sdk.prizes.listInstantWinnersHomepageShowcase();