MCPcopy Create free account
hub / github.com/Rushifakami/csfloat_api / get_specific_listing

Method get_specific_listing

csfloat_client.py:305–316  ·  view source on GitHub ↗
(
            self, listing_id: int, *, raw_response: bool = False
    )

Source from the content-addressed store, hash-verified

303 return {"listings": listings, "cursor": response.get("cursor")}
304
305 async def get_specific_listing(
306 self, listing_id: int, *, raw_response: bool = False
307 ) -> Union[Listing, dict]:
308 parameters = f'/listings/{listing_id}'
309 method = 'GET'
310
311 response = await self._request(method=method, parameters=parameters)
312
313 if raw_response:
314 return response
315
316 return Listing(data=response)
317
318 async def get_stall(
319 self, user_id: int, *, limit: int = 40, raw_response: bool = False

Callers

nothing calls this directly

Calls 2

_requestMethod · 0.95
ListingClass · 0.85

Tested by

no test coverage detected