GithubHelp home page GithubHelp logo

duncan3dc / sonos-cloud Goto Github PK

View Code? Open in Web Editor NEW
3.0 4.0 0.0 777 KB

A PHP library to use the official Sonos API to control your speakers

License: Apache License 2.0

PHP 100.00%
php sonos sonos-api

sonos-cloud's Introduction

sonos-cloud

A PHP library for interacting with the official Sonos API.

Full documentation is available at https://duncan3dc.github.io/sonos-cloud/
PHPDoc API documentation is also available at https://duncan3dc.github.io/sonos-cloud/api/

release build coverage

Installation

The recommended method of installing this library is via Composer.

Run the following command from your project root:

$ composer require duncan3dc/sonos-cloud

Alternatives

I also maintain a library that allows you to control speakers on your local network:
https://github.com/duncan3dc/sonos/

Where to get help

Found a bug? Got a question? Just not sure how something works?
Please create an issue and I'll do my best to help out.
Alternatively you can catch me on Twitter

duncan3dc/sonos-cloud for enterprise

Available as part of the Tidelift Subscription

The maintainers of duncan3dc/sonos-cloud and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.

sonos-cloud's People

Contributors

duncan3dc avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sonos-cloud's Issues

Authorisation problem

Hi Duncan
I'm so excited to be able to use your framework to control our office Sonos system.
But I'm having trouble with the authorisation so not getting very far.
When I use the example at https://duncan3dc.github.io/sonos-cloud/setup/ (having set up a developer code etc at developer.sonos) on the callback I'm getting an error, something about a missing request header per below. Can you please tell me what I'm doing wrong?

PHP Fatal error: Uncaught duncan3dc\Sonos\Cloud\Exceptions\AuthenticationException: invalid_request - Missing request header 'Authorization' for method parameter of type String in /home/arc33114/public_html/rss_admin_new/sonos-cloud/vendor/duncan3dc/sonos-cloud/src/OAuthProvider.php:56

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.