Skip to content

πŸ”Š πŸ“– Sonos api documentation for the local UPNP api and a generator to generate clients based on service discovery

License

Notifications You must be signed in to change notification settings

koshisan/sonos-api-docs

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

47 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

sonos-api-docs

Sonos api documentation for the local UPNP api and a generator to generate clients and documentation based on service discovery

Join us on Discord github issues Support me on Github

This library is in no way connected to Sonos. It's just a set of text files to document a hidden and unsupported api.

Documentation

Check-out the (generated) documentation about all the SONOS UPNP services svrooij.io/sonos-api-docs/services/

Manual documentation file

We cannot get all the information by using service discovery, there is one file that we manually edit to document some the actions (accepting pull-request to improve).

This file has a documentation json schema which means VS Code will guide you when editing this file.

Generator

You can find the generator here and use it to generate your own sonos client in your preferred language.

Device discovery files

You can use the generator to generate your own discovery files, but we also have the files available for download.

These files toghether with the documentation file, are combined to a extensive JSON file, that is used as an input for the generator.

Templates

The generator uses handlebars.js templates to generate the documentation/strong typed clients. Check-out the docs template as a sample to develop your own templates.

A template is a folder with a template.json file, that describes the template and specifies what templates should be used to either generate an index (all services in a single file), or a seperate file for each service.

Community

Join us on Discord

If you need help building an app that talks to your sonos speakers, or you want to share some of your findings. Join us on Discord.

Contributors ✨

All Contributors

Thanks goes to these wonderful people (emoji key):


Stephan van Rooij

πŸ’» πŸ“– πŸ€” 🚧

H. Klages

πŸ“–

Sebastian Schuberth

πŸ“–

This project follows the all-contributors specification. Contributions of any kind welcome!

About

πŸ”Š πŸ“– Sonos api documentation for the local UPNP api and a generator to generate clients based on service discovery

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 62.0%
  • Handlebars 37.6%
  • Other 0.4%