Class AbebooksOffer

Offer representing a single item for sale on AbeBooks.

Class Summary

Using an AbebooksOffer

var abe = FILLZ.SOURCE.ABEBOOKS.v2;
var lowest = abe.offers().lowest_price_offer();
debug('price is ' + lowest.price);
debug('condition is ' + lowest.condition);

Properties

  • price

    Price of the offer in USD, excluding shipping.
    Returns a Number with up to 2 decimal places of precision.

  • condition

    Condition code of the offer, an integer as follows:

    • 11 (New)
    • 1 (Used; Like New), 2 (Used; Very Good), 3 (Used; Good), 4 (Used; Acceptable)
  • condition_name

    Condition name of the offer.

  • quantity

    Quantity of item available from this seller. Returns a Number.

  • shipping

    Shipping amount of the offer for this seller. Currency is USD.
    Returns a Number with up to 2 decimal places of precision.

  • total

    Total landed price (price + shipping) of the offer for this seller. Currency is either USD. This value is equivalent to the sum of the price and shipping properties.
    Returns a Number with up to 2 decimal places of precision.

  • country

    Name of country where the seller of this item is located. Returns '' if not known.

  • country_code

    ISO code of the country where the seller of this item is located. Returns '' if not known.

  • state

    Name of the state (or province) within the country where the seller of this item is located.

  • stars

    The number of stars this seller has on Abebooks. Ranges from 1 to 5.

  • seller_id

    Unique identifier associated with seller on Abebooks. # Example: Grouse Mountain Books. Returns a Number.

  • seller

    Name of the seller.