Get the sdk. The documentation is in the included .CHM file and included sample code. Here is a link to the SDK, it is for both online and on-premise.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=420f0f05-c226-4194-b7e1-f23ceaa83b69
Jamie Miley http://mileyja.blogspot.com Linked-In Profile Follow Me on Twitter!