Have ideas to improve npm?Join in the discussion! »

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

    0.13.24 • 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

    Keywords

    none

    Install

    npm i @36node/bus-chart-sdk

    DownloadsWeekly Downloads

    7

    Version

    0.13.24

    License

    MIT

    Unpacked Size

    92.7 kB

    Total Files

    17

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar