TornAPIWrapper 2.6.0__py3-none-any.whl → 2.7.0__py3-none-any.whl

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.
@@ -26,8 +26,8 @@ __author__ = "cxdzc"
26
26
  __copyright__ = "Copyright 2023-Present cxdzc"
27
27
  __license__ = "MIT"
28
28
  __title__ = "TornAPIWrapper"
29
- __version__ = "2.6.0"
30
- __patch__ = "30.04.2026"
29
+ __version__ = "2.7.0"
30
+ __patch__ = "08.05.2026"
31
31
 
32
32
  from .errors import (
33
33
  WrapperError,
@@ -404,6 +404,17 @@ class User:
404
404
  """
405
405
  return self.api.request("/user/itemmarket", build_params(self.get_itemmarket, locals()))
406
406
 
407
+ def get_itemmods(self, timestamp: int = None, comment: str = None) -> dict:
408
+ """
409
+ Get your information about available item mods.
410
+ API key (Public).
411
+ :param timestamp: Timestamp to bypass cache.
412
+ :param comment: Comment for your tool/service/bot/website to be visible in the logs.
413
+ :return: API response data.
414
+ :rtype: dict
415
+ """
416
+ return self.api.request("/user/itemmods", build_params(self.get_itemmods, locals()))
417
+
407
418
  def get_job(self, user_id: int = None, timestamp: int = None, comment: str = None) -> dict:
408
419
  """
409
420
  Get your job information or for a specific player.
@@ -404,6 +404,17 @@ class User:
404
404
  """
405
405
  return await self.api.request("/user/itemmarket", build_params(self.get_itemmarket, locals()))
406
406
 
407
+ async def get_itemmods(self, timestamp: int = None, comment: str = None) -> dict:
408
+ """
409
+ Get your information about available item mods.
410
+ API key (Public).
411
+ :param timestamp: Timestamp to bypass cache.
412
+ :param comment: Comment for your tool/service/bot/website to be visible in the logs.
413
+ :return: API response data.
414
+ :rtype: dict
415
+ """
416
+ return await self.api.request("/user/itemmods", build_params(self.get_itemmods, locals()))
417
+
407
418
  async def get_job(self, user_id: int = None, timestamp: int = None, comment: str = None) -> dict:
408
419
  """
409
420
  Get your job information or for a specific player.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TornAPIWrapper
3
- Version: 2.6.0
3
+ Version: 2.7.0
4
4
  Summary: A Python wrapper for the Torn City API, providing access to Torn City data.
5
5
  Author: cxdzc
6
6
  License: The MIT License (MIT)
@@ -53,7 +53,7 @@ Dynamic: license-file
53
53
  <a href="https://pypi.org/project/TornAPIWrapper/"><img src=https://img.shields.io/pypi/v/tornapiwrapper?cacheSeconds=300></a>
54
54
  <a href="https://pypi.org/project/TornAPIWrapper/"><img src=https://img.shields.io/pypi/pyversions/tornapiwrapper?cacheSeconds=300></a>
55
55
  <a href="https://pypi.org/project/TornAPIWrapper/"><img src=https://img.shields.io/pepy/dt/tornapiwrapper?color=blue&cacheSeconds=300></a>
56
- <a href="https://www.torn.com/api.html#:~:text=Patch%20Notes"><img src=https://img.shields.io/badge/patch-30.04.2026-c4c4c4?cacheSeconds=300></a>
56
+ <a href="https://www.torn.com/api.html#:~:text=Patch%20Notes"><img src=https://img.shields.io/badge/patch-08.05.2026-c4c4c4?cacheSeconds=300></a>
57
57
  <a rel="license" href="https://github.com/cxdzc/TornAPIWrapper/blob/main/LICENSE"><img alt="MIT License" src="https://img.shields.io/badge/license-MIT-ab1436"/></a>
58
58
  </div>
59
59
 
@@ -1,4 +1,4 @@
1
- TornAPIWrapper/__init__.py,sha256=I9doGBtL4Cb-X4uXjaG7IT91KVi-6qB73NmRAj9mMNc,2763
1
+ TornAPIWrapper/__init__.py,sha256=av4M0lmoPvxkQNbi4uFFquxccHS0nJY9PU2cMXLU7qw,2763
2
2
  TornAPIWrapper/__main__.py,sha256=JKsDOr6esnYwiUO5HypNL_0ieiEc5YCItsLwdMfxyLs,1806
3
3
  TornAPIWrapper/client.py,sha256=IFKujsxf2A1buBsQwPmXbxgjRVmXg2rwNBBKv9OXCFc,3199
4
4
  TornAPIWrapper/client_async.py,sha256=rn_AtgrtgNeumiwKD29F7f8l-4Oxr41AnMXbSGVQXqY,3976
@@ -13,7 +13,7 @@ TornAPIWrapper/endpoints/market.py,sha256=Iv7kQ3tCtayjXG-NQu2uTAW04dbS37zMgJx1KD
13
13
  TornAPIWrapper/endpoints/property.py,sha256=y7tQ3FuzRy7oNDBvSUei45qY9-o6sbK4yik78gnXoI0,2828
14
14
  TornAPIWrapper/endpoints/racing.py,sha256=xjoGHTNmnqbqyhZeetBXRVcFdKYUAM_m6paomPloHj8,6097
15
15
  TornAPIWrapper/endpoints/torn.py,sha256=utJ4vz3hLXaqNdEq-ycs78nsqwYvyGh3oEJqlZEzz6E,16558
16
- TornAPIWrapper/endpoints/user.py,sha256=Uig-vvDMK5_8FbUaOpUmh_05XcJPIZ8FNWgEzIfwLMQ,45853
16
+ TornAPIWrapper/endpoints/user.py,sha256=q8kHn2VAnybjAxt3Sr2qJ80nol5YYm6dDJyRic0CLKM,46336
17
17
  TornAPIWrapper/endpoints_async/__init__.py,sha256=1x2hi50HSEPTeUVrUD1NQTkhpLjyVGg8kDo4LcXFcP8,1132
18
18
  TornAPIWrapper/endpoints_async/company.py,sha256=8y_vky7HpG1J6jsfuebatdiRRB7tArcjJYBXM7jx-kA,4919
19
19
  TornAPIWrapper/endpoints_async/faction.py,sha256=823cLOK4Y9sqWfP_ARJacJrd4eJbTZlGhjLDw8Uh0C8,31032
@@ -23,12 +23,12 @@ TornAPIWrapper/endpoints_async/market.py,sha256=lfLwbTTUxTajdWM45XEBLVm83UX2oZRX
23
23
  TornAPIWrapper/endpoints_async/property.py,sha256=DBCA2BXoCaKww9MGNRVAaEJkZT-N-ZbQUVpRJWmD5Y4,2880
24
24
  TornAPIWrapper/endpoints_async/racing.py,sha256=zfJhLhem2HZQYyP8ngqp8nkOm2O3AQO-kYRPJJBD6w4,6209
25
25
  TornAPIWrapper/endpoints_async/torn.py,sha256=wo1yecshY3wXDbzGpUC7nA_0GCznBQvRT2V0yF3I0F8,16886
26
- TornAPIWrapper/endpoints_async/user.py,sha256=wg1oi-aSOXBmoV6CnOTqeXDKtd8tqbe_tCPJZWP1Q40,46625
26
+ TornAPIWrapper/endpoints_async/user.py,sha256=cm5d0INBrZ3xukzOhcLIQcDeCqfHnhKGctpGlS0CtNg,47120
27
27
  TornAPIWrapper/params/__init__.py,sha256=62xgULpfqEnTYmzSz_6W2MVGtna4DFb6oABy02ZsGcY,1123
28
28
  TornAPIWrapper/params/builders.py,sha256=WQIHSmMgJedNpwps8p4QjXvMLG-s09QBsT1Qynaxx1s,2057
29
29
  TornAPIWrapper/params/map.py,sha256=nvZEklgS1IZYmwTY1vv9HQZjV8zJdU9xL3DAXGCtCno,1382
30
- tornapiwrapper-2.6.0.dist-info/licenses/LICENSE,sha256=tFxfnm48fk5x0JCMs1t7Ao6XDt_bHn_ogl3Y_q2EuPc,1079
31
- tornapiwrapper-2.6.0.dist-info/METADATA,sha256=p-q7bHp0ZLap4JalfPiAUuzmJfJRTdyMp7JnbRJwVAg,5069
32
- tornapiwrapper-2.6.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
33
- tornapiwrapper-2.6.0.dist-info/top_level.txt,sha256=z3QKLWbCxzb7qZb9LV37myVFXQm3hgA57PGuSWkc4R4,15
34
- tornapiwrapper-2.6.0.dist-info/RECORD,,
30
+ tornapiwrapper-2.7.0.dist-info/licenses/LICENSE,sha256=tFxfnm48fk5x0JCMs1t7Ao6XDt_bHn_ogl3Y_q2EuPc,1079
31
+ tornapiwrapper-2.7.0.dist-info/METADATA,sha256=lnQBDrrz9MLpvptPp0UDPxVwZn9Z9DCxGye1S2YKNYI,5069
32
+ tornapiwrapper-2.7.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
33
+ tornapiwrapper-2.7.0.dist-info/top_level.txt,sha256=z3QKLWbCxzb7qZb9LV37myVFXQm3hgA57PGuSWkc4R4,15
34
+ tornapiwrapper-2.7.0.dist-info/RECORD,,