divvyapiapi icon indicating copy to clipboard operation
divvyapiapi copied to clipboard

Create a "dock load" method

Open stevevance opened this issue 12 years ago • 0 comments

Dock load is the number of docks filled with bikes.

dock load = 100-(SUM(availableDocks) / SUM(totalDocks))*100

...I think

The call would be /stats/dockload and would return the following:

{"response": { "dockLoad":60, "availableDocks":400, "totalDocks":1000, "timestamp":"2013-08-25 01:00:02 PM", "stationsInService":30 } }

stevevance avatar Aug 25 '13 17:08 stevevance