6.0.0 • Published 5 years ago

@datafire/bikewise v6.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@datafire/bikewise

Client library for BikeWise API v2

Installation and Usage

npm install --save @datafire/bikewise
let bikewise = require('@datafire/bikewise').create();

.then(data => {
  console.log(data);
});

Description

Actions

v2.incidents.get

bikewise.v2.incidents.get({}, context)

Input

  • input object
    • page integer: Page of results to fetch.
    • per_page integer: Number of results to return per page.
    • occurred_before integer: End of period
    • occurred_after integer: Start of period
    • incident_type string (values: crash, hazard, theft, unconfirmed, infrastructure_issue, chop_shop): Only incidents of specific type
    • proximity string: Center of location for proximity search
    • proximity_square integer: Size of the proximity search
    • query string: Full text search of incidents

Output

Output schema unknown

v2.incidents.id.get

bikewise.v2.incidents.id.get({
  "id": 0
}, context)

Input

  • input object
    • id required integer: Incident ID

Output

Output schema unknown

v2.locations.get

bikewise.v2.locations.get({}, context)

Input

  • input object
    • occurred_before integer: End of period
    • occurred_after integer: Start of period
    • incident_type string (values: crash, hazard, theft, unconfirmed, infrastructure_issue, chop_shop): Only incidents of specific type
    • proximity string: Center of location for proximity search
    • proximity_square integer: Size of the proximity search
    • query string: Full text search of incidents
    • limit integer: Max number of results to return. Defaults to 100
    • all boolean: Give ‘em all to me. Will ignore limit

Output

Output schema unknown

v2.locations.markers.get

bikewise.v2.locations.markers.get({}, context)

Input

  • input object
    • occurred_before integer: End of period
    • occurred_after integer: Start of period
    • incident_type string (values: crash, hazard, theft, unconfirmed, infrastructure_issue, chop_shop): Only incidents of specific type
    • proximity string: Center of location for proximity search
    • proximity_square integer: Size of the proximity search
    • query string: Full text search of incidents
    • limit integer: Max number of results to return. Defaults to 100
    • all boolean: Give ‘em all to me. Will ignore limit

Output

Output schema unknown

Definitions

This integration has no definitions

6.0.0

5 years ago

5.0.0

7 years ago

4.0.0

7 years ago

3.0.0

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

0.0.3

9 years ago

0.0.1

9 years ago