{"note":"OpenAPI conversion -- returning structured metadata","name":"surrey-ca-trafficloops","description":"City of Surrey Traffic Loop Count API.","version":"0.1","base_url":"http://gis.surrey.ca:8080/fmedatastreaming/TrafficLoopCount","endpoints":2,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api City of Surrey Traffic Loop Count API.\n@base http://gis.surrey.ca:8080/fmedatastreaming/TrafficLoopCount\n@version 0.1\n@endpoints 2\n@toc TrafficLoops.fmw(1), TrafficLoopCounts.fmw(1)\n\n@group TrafficLoops.fmw\n@endpoint GET /TrafficLoops.fmw\n@desc Provides all the traffic loops maintained by the City of Surrey in GeoJSON format. LANE_DIRECTION indicates the heading of the traffic (NB, SB, EB, WB). INTERSECTION_ID corresponds to the INTID field in the intersections dataset which can be found on the Surrey Open Data site. ROAD_FACILITYID indicates which road segment the loop is located on.  This corresponds to the FACILITYID in the Road Centrelines dataset on the City of Surrey Open Data site.\n@optional {proj_epsg: any # The output projection EPSG code.  Eg. WGS84 is 4326 and NAD 83 UTM Zone 10 is 26910.  If this is left blank, the default is 4326.  For more on EPSG codes please see http://spatialreference.org/}\n@returns(200) City of Surrey Traffic Loops\n\n@endgroup\n\n@group TrafficLoopCounts.fmw\n@endpoint GET /TrafficLoopCounts.fmw\n@desc Provides traffic loop counts for the input time interval. The LOOP_ID and DATETIME combinations are unique in the output. The output timestamp will contain the time zone offset, either -08 (PST) or -07 (PDT) depending on whether daylight savings time was observed at the output datetime. In order to work with local time you may omit the time zone offset from the input and truncate it from the output.\n@optional {startdatetime: any # Beginning of the required date/time range in ISO 8601. For example March 24 2016 at 1:00 PM Pacific Standard Time would be 2016-03-24T13:00:00-08., enddatetime: any # End of the required date/time range. For details see the startdatetime parameter.}\n@returns(200) City of Surrey Traffic Loop Counts\n\n@endgroup\n\n@end\n"}