retailcrm
    TypeScript icon, indicating that this package has built-in type declarations

    0.9.0 • Public • Published

    node-retailcrm

    example:

    import RetailCRM from 'node-retailcrm';
    
    (async () => {
    
        const baseUrl = 'https://xxx.retailcrm.ru';
        const apiKey = 'yyy';
    
        const retailCRM = new RetailCRM({
            baseUrl,
            apiKey
        });
    
        const {versions} = (await retailCRM.apiVersions()).unwrap();
        console.log('> versions: ', versions);
    
        const {credentials, siteAccess, sitesAvailable} = (await retailCRM.credentials()).unwrap();
        console.log('> credentials: ', credentials);
        console.log('> site access: ', siteAccess);
        console.log('> sites available: ', sitesAvailable);
    
    })();

    Keywords

    Install

    npm i retailcrm

    DownloadsWeekly Downloads

    0

    Version

    0.9.0

    License

    MIT

    Unpacked Size

    32.8 kB

    Total Files

    26

    Last publish

    Collaborators

    • watchdg