Skip to content

macecchi/itunes-control-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

itunes-control-api

REST API to control playback on iTunes on OS X. Based on my fork of local-itunes and Express.

Using

Install with npm:

$ npm install itunes-control-api

Import the node module in your js file and call start with the desired port:

var iTunesAPI = require('itunes-control-api');
iTunesAPI.start(8080);

Supported controls

/status

Returns state of the playback (playing/paused).

/play

Plays music.

/pause

Pauses music.

/playpause

Toggles play/pause.

/previous

Go to previous track or beginning of the current track.

/next

Go to next track.

About

REST API to control playback on iTunes on OS X

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published