Skip to main content
The Deno 2 Release Candidate is here
Learn more
method TraderPurchasePersisterService.prototype.getProfileTraderPurchases
import { TraderPurchasePersisterService } from "https://deno.land/x/sptaki@1.2.0/services/TraderPurchasePersisterService.d.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