mineos-market-client
    Preparing search index...

    Type Alias Config

    Configuration settings for connecting to the Market API.

    {
    hostUrl: 'http://mineos.buttex.ru/MineOSAPI/2.04/',
    userAgent:
    'Mozilla/5.0 (Macintosh Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.119 Safari/537.36',
    headers: undefined,
    proxyUrl: undefined
    }
    type Config = {
        hostUrl: string;
        userAgent?: string;
        headers?: Record<string, string>;
        proxyUrl?: string;
    }
    Index

    Properties

    hostUrl: string

    Market API URL

    http://mineos.buttex.ru/MineOSAPI/2.04/
    
    userAgent?: string

    User agent for requests

    Mozilla/5.0 (Macintosh Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.119 Safari/537.36
    
    headers?: Record<string, string>

    Additional headers for request

    proxyUrl?: string

    Appends before the host URL. Useful for CORS bypass