Skip to main content
Deno 2 is finally here 🎉️
Learn more
method TraderPurchasePersisterService.prototype.getProfileTraderPurchases
import { TraderPurchasePersisterService } from "https://deno.land/x/sptaki@1.2.0/services/mod.ts";

Get the purchases made from a trader for this profile before the last trader reset

Parameters

sessionId: string

Session id

traderId: string

Trader to loop up purchases for

Returns

Record<string, TraderPurchaseData>

Dict of assort id and count purchased