https://github.com/makefu/office-radio
Listen to and control the office radio in the Workadventure instance
https://github.com/makefu/office-radio
Last synced: 8 months ago
JSON representation
Listen to and control the office radio in the Workadventure instance
- Host: GitHub
- URL: https://github.com/makefu/office-radio
- Owner: makefu
- Created: 2021-01-20T09:14:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-25T08:42:09.000Z (over 5 years ago)
- Last Synced: 2024-12-27T16:30:46.626Z (over 1 year ago)
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Virtual Office Radio
Listen to and control the office radio in the Workadventure instance
## API
```
GET /stream/ -> gibt die radio website für den stream zurück
GET /stream//url -> 307 redirect zu aktueller stream-url
GET /stream//status
GET /stream//json -> JSON object of stream status
GET /stream//json
POST /stream//play/ , -> setzt den stream auf die url des vordefinierten stream namens (für die auswahl des streams beim radio )a
POST /stream//volume/ -> setzt das volume des streams auf (0-100)
POST /stream//off
POST /stream//stop -> macht das radio aus
POST /stream//url , data: { "url": stream-url } -> setzt den stream auf url (expert mode)
GET / -> gibt die website mit der übersicht aller streams
GET /streams/json -> gibt alle streams mit status aus
GET /radios/json -> gibt alle verfügbaren konfigurierten Radios aus
```