Conditions | 1 |
Total Lines | 16 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 1 |
CRAP Score | 1.4218 |
Changes | 0 |
1 | #!/usr/bin/python |
||
41 | 1 | def get_price_data_for_items_on_sale(self, app_id: int = CommonSteamGames.APP_ID_CSGO) -> APIResponse: |
|
42 | """GetMarketData v1 implementation |
||
43 | https://bitskins.com/api/#get_price_data_for_items_on_sale |
||
44 | |||
45 | Returns market data regarding how many items are on the market and highest/lowest price for every item |
||
46 | |||
47 | :type app_id: int |
||
48 | :return: |
||
49 | """ |
||
50 | api_url = "https://bitskins.com/api/v1/get_price_data_for_items_on_sale/" |
||
51 | |||
52 | payload = { |
||
53 | 'app_id': str(app_id) |
||
54 | } |
||
55 | |||
56 | return self.api_request(api_url=api_url, params=payload) |
||
57 |