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

Method make_offer

csfloat_client.py:445–456  ·  view source on GitHub ↗
(
            self, *, listing_id: int, price: int
    )

Source from the content-addressed store, hash-verified

443 return response
444
445 async def make_offer(
446 self, *, listing_id: int, price: int
447 ) -> Optional[dict]:
448 parameters = "/offers"
449 method = "POST"
450 json_data = {
451 "contract_id": str(listing_id),
452 "price": price,
453 "cancel_previous_offer": False
454 }
455 response = await self._request(method=method, parameters=parameters, json_data=json_data)
456 return response
457
458 async def buy_now(
459 self, *, total_price: int, listing_id: str

Callers

nothing calls this directly

Calls 1

_requestMethod · 0.95

Tested by

no test coverage detected