Class: exports

exports


new exports(options)

Parameters:
Name Type Description
options Object Fetcher options
Properties
Name Type Argument Default Description
locale string <optional>
'en' Default language
timeout number <optional>
5000 Request timeout in ms
logger Object <optional>
Logger instance
cacheSize number <optional>
100 Cache size
cacheTTL number <optional>
Cache TTL in ms
Source:

Class: exports

exports


new exports(item, orders, statistics)

Create a summary from v2 Item and Order data
Parameters:
Name Type Description
item Item Item object
orders Object Orders object with { buy, sell }
statistics Object Statistics object with { buy, sell }
Source: