Conditions | 1 |
Total Lines | 16 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 1 |
CRAP Score | 1.4218 |
Changes | 0 |
1 | #!/usr/bin/python |
||
24 | 1 | def get_all_item_prices(self, app_id: int = CommonSteamGames.APP_ID_CSGO) -> APIResponse: |
|
25 | """GetAllItemPrices v1 implementation |
||
26 | https://bitskins.com/api/#get_all_item_prices |
||
27 | |||
28 | Returns the suggested prices for every item on the market |
||
29 | |||
30 | :type app_id: int |
||
31 | :return: |
||
32 | """ |
||
33 | api_url = "https://bitskins.com/api/v1/get_all_item_prices/" |
||
34 | |||
35 | payload = { |
||
36 | 'app_id': str(app_id) |
||
37 | } |
||
38 | |||
39 | return self.api_request(api_url=api_url, params=payload) |
||
40 | |||
57 |