vervallsweg / cast-web-api

Quick and dirty web API for Google Cast enabled devices.
GNU General Public License v3.0
141 stars 74 forks source link

v1.1.0 Missing Usage Guide #107

Open aniceberg opened 5 years ago

aniceberg commented 5 years ago

It seems that support for certain functions (e.g. PlayMediaGet) were deprecated in the v1.1.0 release but I can't find any updated usage documentation to that effect (e.g. v1.0.0 usage).

Some other v1.0.0 functions I noticed are broken (or perhaps just renamed) in v1.1.0:

I also noticed you can no longer issue commands using a speaker group's id (e.g. device IDs that contain dash characters) but still works when directing the command to a specific to device ID (without any dashes in it). Are the group capabilities still working? If so how do we utilize it?

vervallsweg commented 5 years ago

Hey, for documentation you just need to follow the instructions here. They're interactive now, thanks to swagger-ui. Either parse the file in your browser, or install cast-web-api with the --dev option.

Yes, /image seems to be broken. Will fix in the next release. #111

/version/this/latest is now part of /config. It returns a json with these values at once. See the swagger file for more info.

I also noticed you can no longer issue commands using a speaker group's id

Cannot confirm this. Is this still an issue? Works for me regardless of dashes.

vervallsweg commented 5 years ago

Fix is live in 1.2.0-rc8. If you want to try it run npm install cast-web-api@beta -g. There's no need to update the st dth.

However, cast-web-api will be split into three different packages.

vervallsweg commented 5 years ago

v1.2.0 is out, see the project website for more info. Should there be more questions, feel free to reopen 👍