@@ -0,0 +1,1790 @@
+package com.nickdsantos.onedrive4j.examples;%0A%0Aimport com.nickdsantos.onedrive4j.*;%0A%0Aimport java.io.IOException;%0Aimport java.util.List;%0Aimport java.util.Properties;%0Aimport java.util.Scanner;%0A%0A/**%0A * A OneDrive Drive API example%0A */%0Apublic class DriveOperationsExample extends BaseSample %7B%0A%09public static void main(String%5B%5D args) throws IOException %7B%0A%09%09Properties prop = loadApiSettings();%0A%09%09OneDrive oneDrive = new OneDrive(prop.getProperty(%22client_id%22), prop.getProperty(%22client_secret%22), prop.getProperty(%22callback_url%22));%0A%09%09DriveService driveService = oneDrive.getDriveService();%0A%09%09String authzUrl = oneDrive.authorize(new Scope%5B%5D %7B Scope.SKYDRIVE_UPDATE,  Scope.SKYDRIVE %7D);%0A%09%09%0A%09%09try %7B%0A%09%09%09System.out.println(%22Follow this URL to authorise yourself on OneDrive%22);%0A%09        System.out.println(authzUrl);%0A%09        System.out.println(%22Paste in the access code from the URL that you got redirected to:%22);%0A%09        System.out.print(%22%3E%3E%22);%09        %0A%09%09%09Scanner scanner = new Scanner(System.in);%0A%09%09%09String code = scanner.nextLine();%0A%09%09%09%0A%09%09%09AccessToken token = oneDrive.getAccessToken(code);%0A%09%09%09System.out.println(%22UserId: %22 + token.getUserId());%0A%09%09%09System.out.println(%22AccessToken: %22 + token.getAccessToken());%0A%09%09%09%0A%09%09%09System.out.println(%22==============%22);%0A%09%09%09System.out.print(%22READ:: OneDrive Drives%22);%0A%09%09%09List%3CDrive%3E drives = driveService.getDrives(token.getAccessToken());%0A%09%09%09for (Drive d : drives) %7B%0A%09%09%09%09System.out.println(d.toString());%0A%09%09%09%7D%0A%0A%09%09%09System.out.println(%22==============%22);%0A%09%09%09System.out.print(%22READ:: OneDrive Drive Items%22);%0A%09%09%09List%3CDriveItem%3E items = driveService.getRootItems(token.getAccessToken(), drives.get(0).id);%0A%09%09%09for (DriveItem i : items) %7B%0A%09%09%09%09System.out.println(i.toString());%0A%09%09%09%7D%0A%0A%09%09%09scanner.close();%09%09%09%09%09%0A%09%09%7D catch (IOException e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%09%7D%0A%7D%0A

Add an example.