@36node/bus-chart-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.13.25 • Public • Published

@36node/bus-chart-sdk

version downloads

主要负责历史数据的统计与存储。

Install

yarn add @36node/bus-chart-sdk

Usage

const SDK = require("@36node/bus-chart-sdk");

const sdk = new SDK({ base: "http://localhost:3000/chart/v0", token: "secret" });
sdk.vehicle.listMileages({
      vehicleId: "xxxx",
      query: {
        filter: {
          at: {
            $gt: "2019-01-01",
            $lt: "2020-01-01",
          },
        },
      },
    });

For more usages, see index.test.js.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

@36node/bus-chart-sdk © 36node, Released under the MIT License.

Authored and maintained by 36node with help from contributors (list).

GitHub @36node

Readme

Keywords

none

Package Sidebar

Install

npm i @36node/bus-chart-sdk

Weekly Downloads

6

Version

0.13.25

License

MIT

Unpacked Size

84.3 kB

Total Files

16

Last publish

Collaborators

  • xuna08
  • zzswang
  • hauy
  • 36node-robot