repsapi 0.1.2__tar.gz → 0.2.0__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.
@@ -5,6 +5,24 @@ before 1.0, a new field or method bumps the patch (`0.1.x`) and a breaking chang
5
5
 
6
6
  API changes on the server side are listed at https://repsapi.pl/changelog.
7
7
 
8
+ ## 0.2.0 - 2026-12-01
9
+
10
+ ### Changed (breaking for TypeScript / type checkers)
11
+
12
+ - `Agent` and `AGENTS` follow the API's agent list: 12 agents added (GTBuy, WheeBuy, HipoBuy, ZentBuy, UIDBuy,
13
+ OrientDig, JoyaGoo, LoveGoBuy, iTaoBuy, Fishgoo, LoloBuy, Hubbuycn - 25 in total), CNFans and HooBuy removed:
14
+ both agents closed and the API no longer builds links for them. Asking for them in `agents` is not an error on
15
+ the server, they are just left out of the answer.
16
+
17
+ ### Added
18
+
19
+ - `HaulItem["title_en"]`: the product's English title (`null` when there is no translation), so English apps
20
+ don't have to show the original Chinese `title` (prepared as 0.1.3, never released).
21
+
22
+ ### Notes
23
+
24
+ - No runtime changes besides the agent list. Older versions keep working against the API; their types just list the old agents.
25
+
8
26
  ## 0.1.2 - 2026-10-25
9
27
 
10
28
  ### Added
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: repsapi
3
- Version: 0.1.2
3
+ Version: 0.2.0
4
4
  Summary: Official RepsApi.pl client: parcel tracking, QC photos, product lookup, agent links and shipping estimates.
5
5
  Project-URL: Homepage, https://repsapi.pl
6
6
  Project-URL: Documentation, https://repsapi.pl/docs
@@ -91,7 +91,7 @@ Every method also takes `timeout=` (seconds) and `max_retries=`.
91
91
 
92
92
  ```python
93
93
  # the same product on two agents
94
- links = api.convert("https://detail.1688.com/offer/678091425228.html", agents=["kakobuy", "cnfans"])
94
+ links = api.convert("https://detail.1688.com/offer/678091425228.html", agents=["kakobuy", "usfans"])
95
95
  print(links["agents"]["kakobuy"])
96
96
 
97
97
  # shipping lines for a 1.2 kg parcel to Poland, priced in PLN
@@ -153,6 +153,8 @@ api = RepsApi(api_key="rk_live_...", timeout=30, max_retries=3)
153
153
 
154
154
  ## Changelog
155
155
 
156
+ **0.2.0** (2026-12-01): the agent list follows the API - 25 agents, with GTBuy, WheeBuy, HipoBuy, ZentBuy, UIDBuy, OrientDig, JoyaGoo, LoveGoBuy, iTaoBuy, Fishgoo, LoloBuy and Hubbuycn added and the closed CNFans and HooBuy removed (a type change). Haul items have `title_en` - the English product title.
157
+
156
158
  **0.1.2** (2026-10-25): QC batches have `sku_en` / `sku_pl` - the variant name in English and Polish when the warehouse wrote it in Chinese. No runtime changes.
157
159
 
158
160
  **0.1.1** (2026-10-14): `ServiceName` includes `"shipping"` - `health()` now reports the shipping calculator. No runtime changes.
@@ -68,7 +68,7 @@ Every method also takes `timeout=` (seconds) and `max_retries=`.
68
68
 
69
69
  ```python
70
70
  # the same product on two agents
71
- links = api.convert("https://detail.1688.com/offer/678091425228.html", agents=["kakobuy", "cnfans"])
71
+ links = api.convert("https://detail.1688.com/offer/678091425228.html", agents=["kakobuy", "usfans"])
72
72
  print(links["agents"]["kakobuy"])
73
73
 
74
74
  # shipping lines for a 1.2 kg parcel to Poland, priced in PLN
@@ -130,6 +130,8 @@ api = RepsApi(api_key="rk_live_...", timeout=30, max_retries=3)
130
130
 
131
131
  ## Changelog
132
132
 
133
+ **0.2.0** (2026-12-01): the agent list follows the API - 25 agents, with GTBuy, WheeBuy, HipoBuy, ZentBuy, UIDBuy, OrientDig, JoyaGoo, LoveGoBuy, iTaoBuy, Fishgoo, LoloBuy and Hubbuycn added and the closed CNFans and HooBuy removed (a type change). Haul items have `title_en` - the English product title.
134
+
133
135
  **0.1.2** (2026-10-25): QC batches have `sku_en` / `sku_pl` - the variant name in English and Polish when the warehouse wrote it in Chinese. No runtime changes.
134
136
 
135
137
  **0.1.1** (2026-10-14): `ServiceName` includes `"shipping"` - `health()` now reports the shipping calculator. No runtime changes.
@@ -0,0 +1 @@
1
+ __version__ = "0.2.0"
@@ -11,8 +11,10 @@ from typing import Dict, List, Literal, Optional, TypedDict
11
11
  Platform = Literal["weidian", "taobao", "1688", "tmall"]
12
12
 
13
13
  Agent = Literal[
14
- "kakobuy", "cnfans", "acbuy", "mulebuy", "hoobuy", "oopbuy", "cnshopper", "ootdbuy",
15
- "ponybuy", "superbuy", "sugargoo", "loongbuy", "cssbuy", "usfans", "litbuy",
14
+ "kakobuy", "acbuy", "mulebuy", "oopbuy", "usfans", "litbuy", "cnshopper", "ootdbuy",
15
+ "ponybuy", "superbuy", "sugargoo", "loongbuy", "cssbuy", "gtbuy", "wheebuy", "hipobuy",
16
+ "zentbuy", "uidbuy", "orientdig", "joyagoo", "lovegobuy", "itaobuy", "fishgoo", "lolobuy",
17
+ "hubbuycn",
16
18
  ]
17
19
 
18
20
  TrackingStage = Literal[
@@ -297,6 +299,7 @@ class _HaulItemBase(TypedDict):
297
299
  platform: Optional[str]
298
300
  product_id: Optional[str]
299
301
  title: Optional[str]
302
+ title_en: Optional[str]
300
303
  title_pl: Optional[str]
301
304
  image: Optional[str]
302
305
  seller: Optional[str]
@@ -1 +0,0 @@
1
- __version__ = "0.1.2"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes