1.1.16 • Published 4 years ago

@seo-booster/advego-integration-module v1.1.16

Weekly downloads
2
License
MIT
Repository
gitlab
Last release
4 years ago

AdvegoIntegrationModule

Advego public API integration module

Usage

  • create module instance

  • const aim = require('@seo-booster/advego-integration-module')

  • available methods

  • setConfigurations - pass in list of named configurations

  • setDefaultConfigurationName - set fallback name if requested configuration not found

  • updateConfiguration - update named configuration

  • listConfigurations - list named configurations names

  • callMethod - call method in named configuration context

  • since v.1.1.0 it is possible to call method with dot notation e.x. aim.getAllJobs()

v1.1.0 breaking changes

Changed callMethod contract

aim.callMethod(method, configurationName, [options])

or

aim[method](configurationName, [options])

v1.1.4 breaking changes

init renamed to setConfigurations (breaking change)

added setDefaultConfigurationName

if requested configuration not found it will be substituted with default configuration

fixed error that prevent to call client method directly if there was no throttling settings defined

Configuration object parameters

token - API token,

host - API host,

port - API port,

path - API suffix path,

rpcOptions - RPC methods options,

1.1.16

4 years ago

1.1.15

4 years ago

1.1.14

4 years ago

1.1.13

5 years ago

1.1.12

5 years ago

1.1.11

5 years ago

1.1.10

5 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago