+ All Categories
Home > Documents > The developer’s guide to the SkyDrive API’s

The developer’s guide to the SkyDrive API’s

Date post: 14-Feb-2016
Category:
Upload: jarah
View: 55 times
Download: 0 times
Share this document with a friend
Description:
The developer’s guide to the SkyDrive API’s. Deepesh Mohnani Program Manager @ deepeshm 3-139. Agenda. What is SkyDrive? Microsoft’s bet on SkyDrive Connecting your apps with SkyDrive Connecting your website with SkyDrive. What is SkyDrive?. - PowerPoint PPT Presentation
Popular Tags:
24
The developer’s guide to the SkyDrive API’s Deepesh Mohnani Program Manager @deepeshm 3-139
Transcript
Page 1: The developer’s guide to the SkyDrive API’s

The developer’s guide to the SkyDrive API’sDeepesh MohnaniProgram Manager @deepeshm3-139

Page 2: The developer’s guide to the SkyDrive API’s

• What is SkyDrive?• Microsoft’s bet on SkyDrive• Connecting your apps

with SkyDrive• Connecting your website

with SkyDrive

Agenda

Page 3: The developer’s guide to the SkyDrive API’s

What is SkyDrive?

Page 4: The developer’s guide to the SkyDrive API’s

• Deeply integrated in Windows and Office

• Natively accessible across devices and web

• Rich sharing and collaboration

• Easy to use developer APIs

Powerful cloud storage for docs, photos, and files

Page 5: The developer’s guide to the SkyDrive API’s

Microsoft’s bet on SkyDrive

Page 6: The developer’s guide to the SkyDrive API’s

Deep integrationIntegrated with Office todayWith Office 2013 you can easily Open and Save documents in SkyDrive as well as share them from the document enabling co-authoring on PC, Web and Mac.

Integrated into Windows and File Explorer SkyDrive is integrated into Windows through Windows Explorer and File Explorer to provide you offline access to all of your stuff in SkyDrive.

Best cloud for Windows 8SkyDrive has a Windows Store app for Windows 8 that allows users to access SkyDrive files and save to SkyDrive across the OS

Windows Phone camera rollDeeply integrated in to the Windows Phone camera roll and Office Hub. Take a picture and it is automatically backed up into SkyDrive

Page 7: The developer’s guide to the SkyDrive API’s

SkyDrive everywhere

FilesModern devicesApps

• Available across devices

• Storage plan that fit your needs

• Connect Windows devices and apps to personal cloud storage so you can work or play seamlessly anywhere

• Works with Office so you can organize, work together, and share in new ways

• Works with the 3rd party apps that you care about

Page 8: The developer’s guide to the SkyDrive API’s

Connecting your apps to SkyDrive

Page 9: The developer’s guide to the SkyDrive API’s

You can create apps that….Create and capture docs or photos• Save news articles to SkyDrive for access later on another PC• Save images from a shopping app to SkyDrive to show off later on a phone or TV• Store drafts for a notes app so users can pick up where they left off on another device

Bring their personal content to your experience• Share pictures from user’s SkyDrive in a social networking app• Insert pictures into a review app• Access pictures and documents from a user’s SkyDrive from anywhere

<Enter your scenario here>• The SkyDrive APIs allow you to read and write any file type to your users’ SkyDrive

Page 10: The developer’s guide to the SkyDrive API’s

Live SDKWhat is it?• Access SkyDrive using industry standard protocol like OAuth

2.0 and RESTful web APIs returning JSON responses

• Unified cross-platform programming experience Why use it?• Easy to get started – integrated with Visual Studio• Built on top of the REST APIs• Simplifies authentication and the permission grant experience• Provides a recognizable login experience

Page 11: The developer’s guide to the SkyDrive API’s

https://apis.live.net/v5.0/me/friends

friend friend

contacts

contact

contact

calendar

event event

albums

album album

SkyDrive

folder photo doc

profile picture

Live SDK

Page 12: The developer’s guide to the SkyDrive API’s

Live SDK – C#LiveLoginResult authResult = await authClient.LoginAsync(new List<string>() { "wl.signin", "wl.basic", "wl.skydrive" });

LiveConnectClient clientFolder = new LiveConnect…..;clientFolder.GetAsync("/me/albums");

Page 13: The developer’s guide to the SkyDrive API’s

Live SDK - JSWL.Event.subscribe("auth.login", onLoginComplete); WL.init();  WL.login({ 

scope: ["wl.signin", "wl.skydrive"],              

}); 

WL.api({             path:  “me/albums",   

           method: "get"           } ).then…..

Page 14: The developer’s guide to the SkyDrive API’s

Demo

Integrating SkyDrive into your app

Page 15: The developer’s guide to the SkyDrive API’s

Demo recapGetting started with Live SDKCreating a “hello world” app Getting user profile infoLoading user albumsLoading pictures from an albumUploading and downloading files

Page 16: The developer’s guide to the SkyDrive API’s

Connecting your website to SkyDrive

Page 17: The developer’s guide to the SkyDrive API’s

Enable web users to open files from or save files to SkyDrive• File picker light box • Easy to implement: just insert a few

lines of JavaScript• Replicating the experience of picking

files from SkyDrive in Windows 8 to the web

Drag picture to placeholder or click icon to add

SkyDrive picker

Page 18: The developer’s guide to the SkyDrive API’s

Demo

Integrating SkyDrive into your website

Page 19: The developer’s guide to the SkyDrive API’s

Demo recap• Integrating the SkyDrive picker to your website• Providing a familiar experience to your users

Page 20: The developer’s guide to the SkyDrive API’s

Supported platforms

REST and many more…..

Page 21: The developer’s guide to the SkyDrive API’s

Questions

Page 22: The developer’s guide to the SkyDrive API’s

SkyDrive: http://www.skydrive.com Live SDK portal : http://dev.live.comLive SDK download: http://dev.live.com/downloadInteractive SDK: http://isdk.dev.live.com Live SDK source: http://github.com/liveservices/ Samples: http://github.com/liveservices/liveSDKTwitter: @deepeshmBlog : https://blogs.msdn.com/deepm

Resources

Please submit session evals on the Build Windows 8 App or at http://aka.ms/BuildSessions

Page 24: The developer’s guide to the SkyDrive API’s

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Recommended