Skip to content

Instantly share code, notes, and snippets.

{
"code": 200,
"currentTime": 1448147567674,
"data": {
"entry": {
"length": 391,
"levels": "",
"points": "q|riDvdhvNU?M?MDSHSF]ZyD?c@?a@?]?{A?{E?_FACjCmDCsDB{D?}D?qDC{D?{D?qDAuD?mD?eBAwD?iD@?kNFoIDqD@cC@[?q@B_A@wD?gG?iBD[D]F_@Je@D[HmA?yA?cI@sHBkD?g@Dm@DwF?uC?sC?gH?sC?uA?gE@oI@_C?_HAgC@gC?oE?sE@uKA}A?kG@}@H}H?sD?]AyA?i@AkAEuA@sA?gB?_B?wH?q@B{H?e@@cQB{@?]?q@CsD?aGA{CCcDA_DkG?qABUuH@cED{@Jy@Nw@Rw@Ts@Xq@jAgBjB{CVk@XiAN}AFwAB{ABe@_CHmABs@@k@AyAAeCEyE?qJ?mD?}D@iJ?cA?}A@a@?Y?u@A[CWAi@Ig@IWI[IWMg@Ue@YYQi@i@UWi@o@e@y@Q]s@qAiBiDWi@_BuCsBuDk@gAKOWg@iDiGYc@UYWWk@i@s@i@u@a@UOy@Yk@Mm@O_@Eq@Gw@AkA?{@?{A@?cCASCSEKc@_A^c@JONUVs@Wr@OTKN_@b@b@~@DJBR@R?bCeL@}I?gB?aA?a@?aD@c@?uM?_C?aA@g@?eJ?gJ@sG?yL@eF?qB?kB?}@?wB?qBd@@vB@bB@tB@pA?hB?nHAfU?tB_D?_D?_C?kC?k@?}TA{B?a@@_DCcDA}AACgCCgE?oC?W?eDAgD?uBAmC@}D?{CLqGcDByBD_@@qBBsC@a@?[?yB?sCCsBAS?sDD_@Nq@?gA@aB?a@?yA?aC?gD?wB?sD?m@?m@?aA?m@?{@?}A?_@?sB@q@?_A?iC?cF?qA?yC?gEAcA?[@qABk@B_@@O?W?m@@{B?kC?gC?mC?gC?SK}B?_BDo@B}BDcC?iD@{C?_F?}B?cA?m@?oB?{C?}B?kBAwAAw@?o@
{
"code": 200,
"currentTime": 1448147155487,
"data": {
"limitExceeded": false,
"list": [
{
"agencyId": "Hillsborough Area Regional Transit",
"color": "3C2D90",
"description": "",
{
"code": 200,
"currentTime": 1448145940453,
"data": {
"entry": {
"arrivalsAndDepartures": [
{
"arrivalEnabled": true,
"blockTripSequence": 19,
"departureEnabled": true,
{
"code": 200,
"currentTime": 1448145901583,
"data": {
"limitExceeded": true,
"list": [
{
"agencyId": "Hillsborough Area Regional Transit",
"color": "09346D",
"description": "",
{
"code": 200,
"currentTime": 1448145829893,
"data": {
"entry": {
"disclaimer": "",
"id": "Hillsborough Area Regional Transit",
"lang": "en",
"name": "Hillsborough Area Regional Transit",
"phone": "813-254-4278",
{
"code": 200,
"currentTime": 1448145785152,
"data": {
"entry": {
"frequency": null,
"schedule": {
"frequency": null,
"nextTripId": "Hillsborough Area Regional Transit_102751",
"previousTripId": "Hillsborough Area Regional Transit_102746",
{
"code": 200,
"currentTime": 1448206174045,
"data": {
"limitExceeded": false,
"list": [
{
"frequency": null,
"schedule": {
"frequency": null,
@scascketta
scascketta / readme.md
Last active November 21, 2015 22:28
Using OneBusAway API

Using OneBusAway API

API Docs

All calls to OBA require a key, you can just use TEST to start with.

Nearby Trips

Get the trips that are nearby a location:

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@scascketta
scascketta / 1474790.csv
Created September 15, 2015 16:50
Raw vehicle position data for CapMetro vehicle 2207 from 6:41pm to 9:07pm on 2015-09-14.
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 9 columns, instead of 3 in line 9.
vehicle_id,dist_traveled,speed,lon,route_id,trip_headsign,timestamp,lat,trip_id
2207,0.00010795798364588702,0,-97.76786,1,1-Metric/South Congress-NB,2015-09-14T18:41:25-05:00,30.189432,1474790
2207,0.00010795798364588702,0,-97.76786,1,1-Metric/South Congress-NB,2015-09-14T18:43:25-05:00,30.189432,1474790
2207,0.00010795798364588702,0,-97.76786,1,1-Metric/South Congress-NB,2015-09-14T18:45:24-05:00,30.189432,1474790
2207,0.00010795798364588702,0,-97.76786,1,1-Metric/South Congress-NB,2015-09-14T18:47:24-05:00,30.189432,1474790
2207,0.00010795798364588702,0,-97.76786,1,1-Metric/South Congress-NB,2015-09-14T18:49:24-05:00,30.189432,1474790
2207,0.00010795798364588702,0,-97.76786,1,1-Metric/South Congress-NB,2015-09-14T18:51:24-05:00,30.189432,1474790
2207,0.00010795798364588702,0,-97.76786,1,1-Metric/South Congress-NB,2015-09-14T18:53:24-05:00,30.189432,1474790
2207,0.00012320448112642976,0,-97.76789,1,1-Metric/South Congress-NB,2015-09-14T18:55:24-05:00,30.189432,1474790
2207,0.0020776656795382918,0.60000002384