5.3.9 • Published 7 days ago

@vcsuite/publisher-sdk v5.3.9

Weekly downloads
-
License
MIT
Repository
-
Last release
7 days ago

@vcsuite/publisher-sdk

This package is an auto generated API to access the vcPUBLISHERs REST API. It uses the publisher OpenAPI document to generate a web & node SDK. For usage with node, you must have node-fetch installed as a dependency.

Installation

For use in a web app: npm i @vcsuite/publisher-sdk. For use in a node app: npm i node-fetch @vcsuite/publisher-sdk;

Usage

import * as api from '@vcsuite/publisher-sdk';

api.setServerUrl('http://localhost:3000');

const { _id: userId, token } = await api.postLogin({
  username: 'admin',
  password: 'admin123',
});
api.authorize(token);

const newProject = await api.postProject(
  { managerId: userId },
  { name: 'foo', bbox: [0, 0, 1, 1] },
);

For more examples, see the integration tests.

5.3.9

7 days ago

5.3.8

14 days ago

5.3.7

1 month ago

5.3.6

1 month ago

5.3.5

2 months ago

5.3.4

2 months ago

5.2.12

3 months ago

5.2.11

4 months ago

5.3.2

5 months ago

5.2.10

5 months ago

5.3.1

5 months ago

5.3.0

5 months ago

5.2.9

6 months ago

5.2.8

6 months ago

5.2.7

7 months ago

5.2.6

7 months ago

5.2.4

8 months ago

5.2.3

8 months ago

5.2.2

9 months ago

5.2.0

9 months ago

5.2.0-rc.3

9 months ago

5.2.0-rc.2

9 months ago

5.2.0-rc.1

9 months ago

5.1.4

10 months ago

5.1.3

10 months ago

5.1.2

10 months ago

5.1.1

10 months ago

5.1.0

10 months ago

5.0.14

1 year ago

5.0.13

1 year ago

5.0.12

1 year ago

5.0.11

1 year ago

5.0.10

1 year ago

5.0.9

1 year ago

5.0.8

1 year ago

5.0.7

1 year ago

5.0.6

1 year ago

5.0.5

1 year ago

5.0.4

1 year ago