Welcome the Ribbit Silverlight SDK
We are delighted to be able to provide you with our Silverlight SDK that allow you to use Ribbit's suite of REST services to manage phone calls, conferences, send messages, play back voice mail, and all sorts of goodies.
We have a library that has no user interface elements, and allows you to use the rest service directly - this is in the Ribbit.Silverlight.Rest namespace, and we also have a set of controls that allow you to very rapidly construct pretty complex applications.
Currently to use the Silverlight SDK you need to configure your application to use two legged authentication - this means you don't need a secret key, but it is not the most secure method. Very soon we will release a version which uses full 3 legged OAuth, in which a user must go to the Ribbit web site to allow your application to use their account, and this will be the mode you'll use the library in. You'll need to use the Kermit tool, currently downloadable on this web site, to enable your application for 2 legged authentication
Once your application has been configured on the Ribbit platform appropriately, you call RibbitApi.SetApplication() with appropriate parameters to get the library going.
Then you have to log a user in, and once you've done that you're away, and can write code like this:
private void ListDevices_Click(object sender, RoutedEventArgs e)
{
RibbitDevice devices = new RibbitDevice();
devices.GetDevicesComplete += new RibbitApi.RibbitEventHandler(devices_GetDevicesComplete);
devices.GetDevices();
}
void devices_GetDevicesComplete(object sender, RibbitEventArgs e)
{
RibbitCollectionResponse response = e.Data as RibbitCollectionResponse;
StringBuilder sb = new StringBuilder();
foreach (DeviceResource device in response.Results.Cast<DeviceResource>())
{
sb.Append(device.Id + "\r\n");
}
MessageBox.Show("The logged on user has these devices registered\r\n" + sb.ToString());
}
Good luck using the Silverlight library. if you have any questions of feedback, please post them in this forum
Tim

