6.0.0 • Published 5 years ago
@datafire/bikewise v6.0.0
@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
- page
Output
Output schema unknown
v2.incidents.id.get
bikewise.v2.incidents.id.get({
"id": 0
}, context)
Input
- input
object
- id required
integer
: Incident ID
- id required
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
- occurred_before
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
- occurred_before
Output
Output schema unknown
Definitions
This integration has no definitions