tcgapi 0.13.0__tar.gz → 0.13.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. {tcgapi-0.13.0 → tcgapi-0.13.2}/PKG-INFO +4 -4
  2. {tcgapi-0.13.0 → tcgapi-0.13.2}/README.md +2 -2
  3. {tcgapi-0.13.0 → tcgapi-0.13.2}/pyproject.toml +2 -2
  4. {tcgapi-0.13.0 → tcgapi-0.13.2}/tcgapi/__init__.py +1 -1
  5. {tcgapi-0.13.0 → tcgapi-0.13.2}/tcgapi/resources/cards.py +2 -1
  6. {tcgapi-0.13.0 → tcgapi-0.13.2}/.gitignore +0 -0
  7. {tcgapi-0.13.0 → tcgapi-0.13.2}/LICENSE +0 -0
  8. {tcgapi-0.13.0 → tcgapi-0.13.2}/tcgapi/_transport.py +0 -0
  9. {tcgapi-0.13.0 → tcgapi-0.13.2}/tcgapi/async_client.py +0 -0
  10. {tcgapi-0.13.0 → tcgapi-0.13.2}/tcgapi/client.py +0 -0
  11. {tcgapi-0.13.0 → tcgapi-0.13.2}/tcgapi/errors.py +0 -0
  12. {tcgapi-0.13.0 → tcgapi-0.13.2}/tcgapi/models.py +0 -0
  13. {tcgapi-0.13.0 → tcgapi-0.13.2}/tcgapi/resources/__init__.py +0 -0
  14. {tcgapi-0.13.0 → tcgapi-0.13.2}/tcgapi/resources/_base.py +0 -0
  15. {tcgapi-0.13.0 → tcgapi-0.13.2}/tcgapi/resources/bulk.py +0 -0
  16. {tcgapi-0.13.0 → tcgapi-0.13.2}/tcgapi/resources/cardmarket.py +0 -0
  17. {tcgapi-0.13.0 → tcgapi-0.13.2}/tcgapi/resources/ebay.py +0 -0
  18. {tcgapi-0.13.0 → tcgapi-0.13.2}/tcgapi/resources/export.py +0 -0
  19. {tcgapi-0.13.0 → tcgapi-0.13.2}/tcgapi/resources/games.py +0 -0
  20. {tcgapi-0.13.0 → tcgapi-0.13.2}/tcgapi/resources/identify.py +0 -0
  21. {tcgapi-0.13.0 → tcgapi-0.13.2}/tcgapi/resources/keys.py +0 -0
  22. {tcgapi-0.13.0 → tcgapi-0.13.2}/tcgapi/resources/prices.py +0 -0
  23. {tcgapi-0.13.0 → tcgapi-0.13.2}/tcgapi/resources/search.py +0 -0
  24. {tcgapi-0.13.0 → tcgapi-0.13.2}/tcgapi/resources/sets.py +0 -0
  25. {tcgapi-0.13.0 → tcgapi-0.13.2}/tcgapi/resources/usage.py +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: tcgapi
3
- Version: 0.13.0
4
- Summary: Official Python SDK for tcgapi.dev — pricing data for Pokemon, Magic: The Gathering, Yu-Gi-Oh!, Lorcana, One Piece, and 80+ more trading card games.
3
+ Version: 0.13.2
4
+ Summary: Official Python SDK for tcgapi.dev — pricing data for Pokemon, Magic: The Gathering, Yu-Gi-Oh!, Lorcana, One Piece, and 50+ more trading card games.
5
5
  Project-URL: Homepage, https://tcgapi.dev
6
6
  Project-URL: Documentation, https://tcgapi.dev/api/
7
7
  Project-URL: Source, https://github.com/gordy-ftw/tcgapi-python
@@ -40,7 +40,7 @@ Description-Content-Type: text/markdown
40
40
  [![Python](https://img.shields.io/pypi/pyversions/tcgapi.svg)](https://pypi.org/project/tcgapi/)
41
41
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
42
42
 
43
- Official Python SDK for [**tcgapi.dev**](https://tcgapi.dev) — a unified pricing API for **89+ trading card games**, including:
43
+ Official Python SDK for [**tcgapi.dev**](https://tcgapi.dev) — a unified pricing API for **50+ trading card games**, including:
44
44
 
45
45
  - Pokémon TCG (English + Japanese)
46
46
  - Magic: The Gathering
@@ -261,7 +261,7 @@ daily price guide: `price_trend`, `avg_sell_price`, `low_price` and 1/7/30-day a
261
261
  `last_updated_at` the guide's date. `cm_series` says which of the product's two series the printing
262
262
  reads (`"regular"`, or `"foil"` — reverse holo for Pokemon). Where Cardmarket sells a card's editions as
263
263
  one product (Yu-Gi-Oh! 1st Edition + Unlimited) there is one `"All editions"` row with
264
- `editions_blended=True`. Raises `NotFoundError` when Cardmarket has no matching product.
264
+ `editions_blended=True`. Returns an empty list when Cardmarket has no matching product.
265
265
 
266
266
  ```python
267
267
  cm = tcg.cards.cardmarket_prices(123456)
@@ -4,7 +4,7 @@
4
4
  [![Python](https://img.shields.io/pypi/pyversions/tcgapi.svg)](https://pypi.org/project/tcgapi/)
5
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
6
 
7
- Official Python SDK for [**tcgapi.dev**](https://tcgapi.dev) — a unified pricing API for **89+ trading card games**, including:
7
+ Official Python SDK for [**tcgapi.dev**](https://tcgapi.dev) — a unified pricing API for **50+ trading card games**, including:
8
8
 
9
9
  - Pokémon TCG (English + Japanese)
10
10
  - Magic: The Gathering
@@ -225,7 +225,7 @@ daily price guide: `price_trend`, `avg_sell_price`, `low_price` and 1/7/30-day a
225
225
  `last_updated_at` the guide's date. `cm_series` says which of the product's two series the printing
226
226
  reads (`"regular"`, or `"foil"` — reverse holo for Pokemon). Where Cardmarket sells a card's editions as
227
227
  one product (Yu-Gi-Oh! 1st Edition + Unlimited) there is one `"All editions"` row with
228
- `editions_blended=True`. Raises `NotFoundError` when Cardmarket has no matching product.
228
+ `editions_blended=True`. Returns an empty list when Cardmarket has no matching product.
229
229
 
230
230
  ```python
231
231
  cm = tcg.cards.cardmarket_prices(123456)
@@ -4,8 +4,8 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "tcgapi"
7
- version = "0.13.0"
8
- description = "Official Python SDK for tcgapi.dev — pricing data for Pokemon, Magic: The Gathering, Yu-Gi-Oh!, Lorcana, One Piece, and 80+ more trading card games."
7
+ version = "0.13.2"
8
+ description = "Official Python SDK for tcgapi.dev — pricing data for Pokemon, Magic: The Gathering, Yu-Gi-Oh!, Lorcana, One Piece, and 50+ more trading card games."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
11
11
  license = { text = "MIT" }
@@ -73,7 +73,7 @@ from .models import (
73
73
  UsageScans,
74
74
  )
75
75
 
76
- __version__ = "0.13.0"
76
+ __version__ = "0.13.2"
77
77
  __all__ = [
78
78
  "TCGApi",
79
79
  "AsyncTCGApi",
@@ -61,7 +61,8 @@ class CardsResource:
61
61
  def cardmarket_prices(self, card_id: int, *, printing: str | None = None) -> Response[list[CardmarketPrice]]:
62
62
  # Cardmarket EU prices (EUR) per printing, from Cardmarket's daily price guide. A card whose
63
63
  # editions Cardmarket sells as one product has one "All editions" row (editions_blended).
64
- # NotFoundError when Cardmarket has no matching product for the card.
64
+ # An empty list when Cardmarket has no matching product for the card; NotFoundError only
65
+ # for an unknown card id.
65
66
  body = self._client._request("GET", f"/cards/{card_id}/prices/cardmarket", {"printing": printing})
66
67
  return parse_response(list[CardmarketPrice], body)
67
68
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes