Class: ItemListingsResponse

ItemListingsResponse

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.
Source:

lastPage

The number of the last available page of results if the API returned such information. Otherwise, it is -1.
Source:

page

The current page number of the results if the API returned such information. Otherwise it is -1.
Source:

results

Retrieve the list of Listing objects as returned by the REST API.
Source:

sellOrBuy

Used to indicate if the ItemListingsResponse#results are listings of sell orders or buy orders. The default is 'sell'.
Source:

total

The total number of results if the API returned such information. Otherwise, it is -1.
Source: