in Office 365

Announcing Client Libraries and Updates to Office 365 API Tooling

The latest update for Office 365 API Tools for Visual Studio Preview is now available for download. This release brings you some key updates not only to the tooling experience but also provides a set of client libraries that helps you interact with Office 365 services (mail, calendar, contact, files, users and groups).

With today’s update of the Office 365 API Tools for Visual Studio 2013, the tool displays the available Office 365 services that you can add to your project. Once signed in with your Office 365 credentials, adding a service to your project is as easy as selecting the appropriate service and applying the required permissions.

o365apitools-may-update

And writing code to interact with Office 365 service is as simple as:

1) Authenticate!

Authenticator = newAuthenticator();
AuthenticationInfo result = await authenticator.AuthenticateAsync("https://outlook.office365.com");

2) Create the client object!

ExchangeClient client =
newExchangeClient(newUri("https://outlook.office365.com/ews/odata"),
result.GetAccessToken);

3) LINQ It!

var eventsResults = await (from i in client.Me.Events
where i.End >= DateTimeOffset.UtcNow
select i).Take(10).ExecuteAsync();

The client libraries are released as “preview” and we love to hear your feedback and what more you would like to see in the Office 365 APIs.

So, let us know what you think and join the conversation!

Write a Comment

Comment

Time limit is exhausted. Please reload the CAPTCHA.

Webmentions

  • How To : Use the Office 365 API Client Libraries (Javascript and .Net) | SharePoint Samurai May 13, 2014

    […] of the cool things with today’s Office 365 API Tooling update is that you can now access the Office 365 APIs using libraries available for .NET and […]

  • Office 365 API Client Libraries – Authenticating your client to Office 365 | Chaks' Corner May 13, 2014

    […] of the cool things with today’s Office 365 API Tooling update is that you can now access the Office 365 APIs using libraries available for .NET and JavaScript. […]