Make requests every x seconds

Hello, i’m building an app of bus trips. The app lets you select a trip and shows you the current status of the trip (if it’s in time or delayed, and where the bus is).
Once the user select a trip I need to make continuous requests to the server keep the status updated.
I need to make server requests every x seconds.
Which is the best way to do this?
may be a background service?

thanks