Skip to content

Add support for newer radios (newer JSON-API) #71

@kimbtech

Description

@kimbtech

Newer radios use a JSON-based API of Airable 1, which is currently not supported by Radio-API. Hence, only older radios, using the XML-based API, are working with Radio-API.

There are at least three implementations of the newer API 2,3,4 , all of them seem to be more basic/ less rich on features than Radio-API. Hence, I think it would be great if Radio-API could get support for the newer JSON-based API (while of course keeping support for the older XML-based API).

Radio-API with support for XML and JSON would allow radios of different generations to connect to one Radio-API server and users could manage all via the same Radio-API interface.


Below partly based on 5

The Radio-API XML implementation should be easy to adopt to different output formats like JSON (the XML creation is fully carried at one place by Output.php and if we are lucky, we only need to integrate and write one similar JSON output class).

However, implementing an unofficial API replacement requires tons of testing, as there is no known specification to follow. It is an explorative journey.


Summarized, I would love to have JSON support in Radio-API. I would do the biggest part of the implementation work, but right now I am not able to do the testing side and without testing it is not possible.

Footnotes

  1. airable.wifiradiofrontier.com

  2. https://github.com/seife/frontier-airable

  3. https://github.com/rhaamo/pyrable

  4. https://github.com/Half-Shot/fairable

  5. https://github.com/KIMB-technologies/Radio-API/discussions/69

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is neededquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions