2.0.7 • Published 3 years ago

seologs-api v2.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

SEO Logs API: Node.js Client

Node.js client for SEO Logs API.

Installation

npm install seologs-api

Usage

The api token is required to connect to SEO Logs api, provide it as environment variables like so:

process.env.SEOLOGS_API_TOKEN = 'YOUR_TOKEN';

const seologs = require('seologs-api')();

Alternatively pass them in as function arguments:

const seologs = require('seologs-api')('YOUR_TOKEN');

Then use the client, example:

seologs.project.getProject(YOUR_PROJECT_ID)
    .then(function (jsonResult) {
        // success..
    })
    .catch(function (err) {
        // failed...
    });

Test

Run the following command:

npm test

Documentation

Build

Run the following command:

npm run docs

API Reference

2.0.7

3 years ago

2.0.5

4 years ago

2.0.6

4 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.3

5 years ago

1.0.0

5 years ago