NYC Traffic Jams filtered and sorted

node v10.24.1
version: 1.0.0
endpointsharetweet
const stae = require("stae") const api = stae.createClient({ key: '' }) const { results } = await api.place.dataType.datum.find({ placeId: 'nyc-ny', dataTypeId: 'traffic-jam', options: { filters: [ { 'data.severity': { $gte: 0.5 } } ], orderings: [ { direction: 'desc', value: { field: 'data.startedAt' } } ] } })
Loading…

no comments

    sign in to comment