I\'m trying to find an API to control iTunes on OS X. I found the following:
http://developer.apple.com/sdk/itunescomsdk.html
I imagine on OS X, what I need
If you are looking for the API spec for the OSX applescript interface then run the AppleScript Editor (comes with OSX) and select File->Open Dictionary and choose iTunes from the list.