Constructor options - SnaBe/node-steam-market-fetcher GitHub Wiki

Currencies

The currency option can be any of the following:

const currencies = {
    'USD': 'United States Dollar',
    'GBP': 'Pound Sterling',
    'EUR': 'Euro',
    'CHF': 'Switzerland Franc',
    'RUB': 'Russian Ruble',
    'PLN': 'Polish Zloty',
    'ZAR': 'South Africa Rand',
    'JPY': 'Japanese yen',
    'SEK': 'Swedish krona',
    'IDR': 'Indonesian Rupiah',
    'MYR': 'Malaysian Ringgit',
    'PHP': 'Philippine peso',
    'SGD': 'Singapore Dollar',
    'THB': 'Thailand Baht',
    'VND': 'Vietnamese Dong',
    'KRW': 'South Korean Won',
    'TRY': 'Turkish lira',
    'UAH': 'Ukrainian hryvnia',
    'MXN': 'Mexican Peso',
    'CAD': 'Canadian dollar',
    'AUD': 'Australian Dollar',
    'NZD': 'New Zealand Dollar',
    'CNY': 'Chinese Yuan Renminbi',
    'INR': 'Indian Rupee',
    'CLP': 'Chilean Peso',
    'PEN': 'Peruvian Sol',
    'COP': 'Colombian Peso',
    'BRL': 'Brazilian Real',
    'HKD': 'Hong Kong Dollar',
    'TWD': 'Taiwan New Dollar',
    'SRD': 'Surinamese Dollar',
    'AED': 'United Arab Emirates dirham',
    'ARS': 'Argentine Peso',
    'ILS': 'Israeli Shekel',
    'KZT': 'Kazakhstani Tenge',
    'KWD': 'Kuwaiti dina',
    'QAR': 'Qatari riyal',
    'CRC': 'Costa Rican colón',
    'UYU': 'Uruguayan Peso'
};

If you do not specify a currency in the constructor, your prices will be returned in USD (United States Dollar).

Data formats

The data format can be any of the following:

  • json - The output will be returned in the JSON format
  • xml - Output is returned as an XML document
  • vdf - Output is returned as a VDF file.

If you do not specify a format in the constructor, your price data will be returned in the JSON format.