Skip to content

Releases: preaverage/pkmnprices-py

v3.4.0

Choose a tag to compare

@preaverage preaverage released this 06 Sep 06:42
0bbb0b3
Release 3.4.0 (#11)

#10 shipped the sealed Cardmarket listing methods and the opened and
sell_count fields but left the version at 3.3.0, so PyPI still serves a
3.3.0 that does not have them. Nothing is published until the version
moves.

Minor rather than patch: sealed gained cardmarket/iterate_cardmarket/
all_cardmarket on both the sync and async clients, and CardmarketListing
gained two fields. Every addition, nothing renamed or removed, so a
3.3.0 caller keeps working.

Both files, because the version lives twice: pyproject.toml is what the
build reads and __init__.py is what __version__ reports, and a release
that moves only one makes the installed package disagree with itself.

v3.3.0

Choose a tag to compare

@preaverage preaverage released this 04 Sep 08:22
30f9d02
Release 3.3.0 (#9)

#8 added fields and filters and left the version at 3.2.0, so the published
package would have claimed to be what it was before: EbayListing gained
variant, attribution and ingested_at, TcgplayerListing gained snapshot_at, and
ebay() gained variant and since on both the sync and async clients.

All additive, so a minor. The version lives in two places here, pyproject.toml
and __init__.__version__, and both move together.

v3.2.0

Choose a tag to compare

@preaverage preaverage released this 20 Aug 04:58
fe37296
Carry Cardmarket's signed, altered and graded flags (#7)

* Carry Cardmarket's signed, altered and graded flags

The API returns these per-listing attributes now. An offer carrying any
of them is real and is returned, but it does not contribute to the card's
market price, which means the cheapest row the SDK hands back is not
necessarily the card's market_price. That is easy to get wrong and was a
live pricing bug before the pipeline learned to tell these apart, so the
README states it outright and shows the filter.

_build already passes None for keys a response omits, so an older API
still parses rather than raising.

* chore: release v3.2.0

v3.1.0

Choose a tag to compare

@preaverage preaverage released this 14 Aug 09:47

Additive release on top of 3.0.0.

What's new

  • Pass currency on sealed product get/list, and model the Cardmarket fields (#3)
  • Support Cardmarket current prices and listings (#4)
  • Add sealed product listings (#5)

Note on versioning

This package has been on the 3.x line since the two breaking changes in #1 and #2. Earlier releases were mislabelled as v1.0.x even though they published 3.x artifacts to PyPI — the release tag is only a label, and the workflow publishes whatever version pyproject.toml carries. Tags now match the published version, and the publish job fails fast if the tag, pyproject.toml and __version__ ever drift again.

Full Changelog: v1.0.5...v3.1.0

v1.0.4

Choose a tag to compare

@preaverage preaverage released this 20 Jul 20:30
feat: expose Cardmarket mapping (v1.0.4)

v1.0.3

Choose a tag to compare

@preaverage preaverage released this 17 Jun 14:46
feat: add tcgplayer card listings endpoint (v1.0.3)

Add CardListingsResource.tcgplayer / iterate_tcgplayer / all_tcgplayer
(sync + async) backed by GET /v1/cards/:id/listings/tcgplayer, with a
TcgplayerListing model. Params mirror cardmarket except variant -> printing.
Bump version to 1.0.3.

v1.0.2

Choose a tag to compare

@preaverage preaverage released this 16 Jun 18:54
feat: card attributes + /cards attribute filters, v1.0.2

Add rich card attribute fields (stage, card_type, weakness, resistance,
retreat_cost, energy_type, ability, flavor_text, attacks) to the Card
model and stage/card_type/weakness/energy_type filters to cards.list.

v1.0.1

Choose a tag to compare

@preaverage preaverage released this 15 Jun 17:07
chore: add repository URLs, bump to 1.0.1

Add Repository and Issues URLs so the GitHub link surfaces on the
PyPI project page. Bump version to trigger a release carrying the
new metadata.

v1.0.0

Choose a tag to compare

@preaverage preaverage released this 14 Jun 11:34
initial client for the Pkmn Prices API

Sync and async clients over httpx covering sets, cards, sealed, and
health. Typed dataclass responses, typed errors per status code, and
auto-paginating iterators for page and cursor endpoints. Retries rate
limits and transient failures with backoff, but not credit limits.

Python 3.10+, deps are just httpx.