API: getupcomingevents

Back to API reference

Retrieve upcoming scheduled events list. The returned list is sorted.

Request

GET /api/getupcomingevents/StationID?key=APIKey

Example request

https://c1.radioboss.fm/api/getupcomingevents/92?key=A1B2C3

Example of returned data (JSON)

[
    {
        "sectostart": 175,
        "nextstart": "2021-07-22 19:10:00",
        "title": "Program 1"
    },
    {
        "sectostart": 295,
        "nextstart": "2021-07-22 19:12:00",
        "title": "Station ID"
    },

    {
        "sectostart": 17575,
        "nextstart": "2021-07-22 00:00:00",
        "title": "Night"
    }
]