microprediction

microprediction / BrooklynBridgeSpeed / 0.1.4

Brooklyn Bridge Speed

1 Credit Royalty
Travel speed on the Brooklyn Bridge, and other NYC locations
Language
Python 3.x - Beta
Metrics
API Calls - 319 Avg call duration - 13.43sec
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More
This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.
This allows an algorithm to compose sophisticated functionality using other algorithms as building blocks, however it also carries the potential of incurring additional royalty and usage costs from any algorithm that it calls.

Run an Example

Input
Output
{
  "__generator__": "bill",
  "_id_": "00000000-0000-0000-b9cb661528718fe7",
  "_value_": "16.77",
  "borough": "Manhattan",
  "data_as_of": "2019-11-18T18:29:11.000",
  "link_id": "4616339",
  "link_name": "BQE N Atlantic Ave - BKN Bridge Manhattan Side",
  "link_points": "40.6916,-73.99915 40.69236,-73.99939 40.69272,-73.999411 40.69328,-73.99929 40.6940504,-73.999001 40.694461,-73.998831 40.694931,-73.99862 40.69543,-73.99836 40.69592,-73.99813 40.69675,-73.99772 40.6977506,-73.997251 40.698871,-73.996721 40.6993606,-73.9",
  "owner": "NYC_DOT_LIC",
  "speed": "16.77",
  "status": "0",
  "transcom_id": "4616339",
  "travel_time": "422"
}

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

$ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
CLI Install Docs

Use



    algo run microprediction/BrooklynBridgeSpeed/0.1.4 -d '{"key":149,"field":"speed","__generator__":"bill"}' --timeout 300
  
CLI Docs