Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Kevin Grifo9,824 Points
SDK vs API?
Can someone give a more detailed explanation of the difference between SDKs and APIs? Thanks
Brendon Butler4,254 Points
An SDK (Software Development Kit). Is typically a set of tools or software that allow you to build software for a platform. Examples: JDK (Java Development Kit), Game Engines, etc.
An API (Application Programming Interface) is an interface that allows different software to interact with each other.
Lets say you have a banking application. And you want other programs to be able to integrate with it. The important code is typically obfuscated and private. While the rest of the code is accessible to the user. These would include methods such as withdrawing and depositing money. The hidden elements would be things like public/private key generation, user accounts, etc.
If this were an SDK, all of this information would typically be public. So you probably wouldnt want to develop a "banking" SDK for a company. Instead, you would create an API.