maddox / itunes-api

🎵 A simple server providing a RESTful service for controlling iTunes
MIT License
200 stars 45 forks source link

Airplay Volume #8

Closed maddox closed 9 years ago

maddox commented 9 years ago

Adds a new endpoint to set the volume of an airplay device:

    PUT /airplay_device/:id/volume [level=20] => AirplayDeviceResource

The PUT takes a number from 0 to 100 param named level.

This pull also normalizes the keys across the response JSON to always be underscored.