OpenAPI 1.2

부분 유료
분류별 TransLoc | 업데이트됨 לפני 8 ימים | Location
인기

9.9 / 10

지연 시간

107ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

No data - Harvard shuttle - just one route (no data sometimes/large periods, and then it comes back - see example)

Rapid account: Ventz
ventz
לפני 6 שנים

Hi,

I noticed for the new shuttle route for Harvard (the 784 memorial drive route), there’s no data coming sometimes (anything from blips, to like this morning - complete outage)

Here’s the API:

curl -s 'https://transloc-api-1-2.p.mashape.com/arrival-estimates.json?agencies=52&callback=call&routes=4010876&stops=4215616' -H 'X-Mashape-Key:*redacted*' -H 'Accept: application/json'

Returned: (note: data is []):

{"rate_limit": 1, "expires_in": 5, "api_latest_version": "1.2", "generated_on": "2018-05-18T15:09:57+00:00", "data": [], "api_version": "1.2"}

Here’s the actual tracker:

https://m.harvard.edu/transit/route?feed=transit-transloc&direction=loop&agency=52&route=4010876

You can see that there is data there for:
(it’s one shuttle)

Agency: 52
Route: 4010876
Stops: 4215616, and 4215074

I have verified that it’s a free route, not over rate limit (checking once per minute), and have verified from other IPs/etc.

Then randomly, it starts working again:

curl -s 'https://transloc-api-1-2.p.mashape.com/arrival-estimates.json?agencies=52&callback=call&routes=4010876&stops=4215616' -H 'X-Mashape-Key:*redacted*' -H 'Accept: application/json'
{"rate_limit": 1, "expires_in": 5, "api_latest_version": "1.2", "generated_on": "2018-05-18T15:18:25+00:00", "data": [{"arrivals": [{"route_id": "4010876", "vehicle_id": "4016853", "arrival_at": "2018-05-18T11:38:40-04:00", "type": "vehicle-based"}, {"route_id": "4010876", "vehicle_id": "4016853", "arrival_at": "2018-05-18T12:12:55-04:00", "type": "vehicle-based"}], "agency_id": "52", "stop_id": "4215616"}], "api_version": "1.2"}

I’ve noticed this multiple times. In the example above:
1.) no data on: 2018-05-18T15:09:57+00:00
2.) working on: 2018-05-18T15:18:25+00:00

Thanks for looking into this.

Rapid account: Jenn 14108
jenn14108 Commented לפני 6 שנים

I am also getting the same slow , unreliable response for the Harvard HUIT-784 Shuttle. Also, when querying to find the different routes for Harvard, it says that only one route is active although that is clearly false looking at the transloc map (https://harvard.transloc.com/)

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입