rurseekatze / ice-portal-speed-logger

Tool for logging the speed of German ICE trains using the REST API of the "ICE Portal"
Do What The F*ck You Want To Public License
14 stars 4 forks source link

Improvements Based on Travel Experience Today #4

Closed Nakaner closed 8 years ago

Nakaner commented 8 years ago

The API is updated only ever 4 to 5 seconds. That's why we can wait about 4.5 seconds until we send the next request.

The API is not very stable. Often it is a good idea to do a retry after 3 seconds because waiting longer is a waste of time.