new ItemListingsResponse(json) → {ItemListingsResponse}
Represents a list of listings returned from GW2 Spidy's full item list.
Parameters:
Name | Type | Description |
---|---|---|
json |
string | A string of JSON representing the listings response |
- Since:
- 0.3.0
- Source:
Returns:
- Type
- ItemListingsResponse
Members
-
count
-
The number of results in the current page of results if the API returned such information. Otherwise, it is -1.
-
lastPage
-
The number of the last available page of results if the API returned such information. Otherwise, it is -1.
-
page
-
The current page number of the results if the API returned such information. Otherwise it is -1.
-
results
-
Retrieve the list of Listing objects as returned by the REST API.
-
sellOrBuy
-
Used to indicate if the ItemListingsResponse#results are listings of sell orders or buy orders. The default is 'sell'.
-
total
-
The total number of results if the API returned such information. Otherwise, it is -1.