You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SealedResource had no listings surface at all, so neither sealed endpoint was
reachable from the SDK: the TCGplayer one is new, and the eBay one has been
live since sealed_sales started being scraped but was never wired up.
Adds client.sealed.listings.{ebay,tcgplayer} with the same iterate_*/all_*
helpers as client.cards.listings, on both the sync and async clients, so both
product types paginate identically.
The sealed ebay() signature deliberately omits graded/grader/grade. Sealed
products are not graded and the API rejects those filters on this route, so
accepting them would have offered keyword arguments that always fail.
for sale in client.sealed.listings.iterate_ebay(5678, sort="price_desc"):
93
+
print(sale.title, sale.price, sale.sold_at)
94
+
```
95
+
96
+
Sealed TCGplayer offers are normally condition `"Unopened"` with an empty
97
+
`printing`, so those two filters rarely narrow anything. Sealed eBay sales are
98
+
never graded, so `graded`, `grader`, and `grade` aren't accepted there and
99
+
`grader`/`grade` come back `None`. The async client mirrors all of these on
100
+
`AsyncPkmnPrices`.
101
+
86
102
## Currency
87
103
88
104
Every price has a `currency` field. Pass `currency="usd"` or `currency="eur"` to filter, or leave it off to get everything your plan allows. EUR (Cardmarket) prices need a Pro plan; a free key asking for `eur` raises `ForbiddenError`.
0 commit comments