diarama-api 0.1.25__py3-none-any.whl → 0.1.26__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.
diarama_api/players.py CHANGED
@@ -5,6 +5,9 @@ class Players:
5
5
  def list(self):
6
6
  return self.client._get("/players/")
7
7
 
8
+ def get_by_username(self, username: str):
9
+ return self.client._get(f"/players/{username}")
10
+
8
11
  def get(self, player_id: int):
9
12
  return self.client._get(f"/players/{player_id}")
10
13
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: diarama-api
3
- Version: 0.1.25
3
+ Version: 0.1.26
4
4
  Summary: Python SDK для работы с API Diarama Studio
5
5
  Author-email: Haru <hello@chinoharu.ru>
6
6
  License: MIT
@@ -6,9 +6,9 @@ diarama_api/games.py,sha256=4Bls55VmOIXEbLw0HVIffa-dAZBVyze4Ii4UD3pSITE,950
6
6
  diarama_api/media.py,sha256=Aq8rwadBr5u4gikZBHC_E1fHkbDvjGgwcOPXdMDDrlo,1031
7
7
  diarama_api/payments.py,sha256=kA9jTsJsSf2e0D3T517Xchmy-WNGtQdAOcDpbbvXkAM,738
8
8
  diarama_api/platforms.py,sha256=Rdb_kSROFDJ0qQTfc57DgoifC0nqRh6xfdn30zNEjw0,922
9
- diarama_api/players.py,sha256=9ThcJKsQNhvBMvT6DI-rdxwfw4xa3C-9nTFEoNFFuLk,892
9
+ diarama_api/players.py,sha256=cX1kxP_G4shpEjosTNkbrSNJjLMGFxO_DWi_gtE_Kg0,998
10
10
  diarama_api/shop.py,sha256=IKwbPO0qy-e_lns0Bp3xIVvqplYkS6gWNBe_WGXuRaU,2870
11
- diarama_api-0.1.25.dist-info/METADATA,sha256=-SbiffCHxw0UR26Q3bHpFpwF0qSf6bZbE8iUVrYx_EY,324
12
- diarama_api-0.1.25.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
- diarama_api-0.1.25.dist-info/top_level.txt,sha256=OcL6tQomtjFhzrraJ9GouJCWoc668jQEsqbUGxM8E7E,12
14
- diarama_api-0.1.25.dist-info/RECORD,,
11
+ diarama_api-0.1.26.dist-info/METADATA,sha256=lVmSXrdNci7N001xxkD9LlM5feqbbzeXmZ0s9o8T1tk,324
12
+ diarama_api-0.1.26.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
+ diarama_api-0.1.26.dist-info/top_level.txt,sha256=OcL6tQomtjFhzrraJ9GouJCWoc668jQEsqbUGxM8E7E,12
14
+ diarama_api-0.1.26.dist-info/RECORD,,