| 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 |