From the course: Programming Foundations: SDKs

Unlock this course with a free trial

Join today to access over 25,600 courses taught by industry experts.

Write code using an SDK

Write code using an SDK

- Many SDKs include a code library. This is a set of pre-written methods and properties you can incorporate into your code that let you skip building code to perform some common procedures when working with the web service. SDK libraries commonly support authentication which can be a complex process with multiple steps that can be tricky to code correctly. Other library methods generally include the basic features that the web service offers. - The Dropbox SDK that I'm using install the library for working with the Dropbox service. The library is organized with a top-level Dropbox object and a set of methods and properties within that object. In my code I can reference them using Dropbox followed by the method or property name. For instance, I can use Dropbox.oauth to implement an OAuth 2.0 authentication flow in my Dropbox integration. I want to see what this SDK can do, so I'm going to run some code. In the exercise…

Contents