@datlas/datamap_v2_api
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

@datlas/datamap_v2_api (axios 版本)

后端api js sdk

HOW TO USE

import { SomeApi, Configuration } from '@datlas/datamap_v2_api';

const configuration = new Configuration({
  baseOptions: { Authorization: '', 'Mdt-User': '' },
  basePath: '',
});
configuration.baseOptions['Authorization'] = 'XXX';

// 如果没有全局axios实例,可以使用默认 const someApi = new SomeApi(configuration, basePath);
const someApi = new SomeApi(configuration, undefined, axiosIns);

someApi.getOne();

Readme

Keywords

none

Package Sidebar

Install

npm i @datlas/datamap_v2_api

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

1.54 MB

Total Files

898

Last publish

Collaborators

  • maicedata