Everyone’s got an API these days. Twitter, YouTube, SoundCloud, and Evernote are just a few of the companies that have popular APIs enabling developers to create new and exciting ways to interact with their products.
But from a high-level perspective, what does an API actually do? And what can be done with it?
The easiest way to describe it is this: an API, or an application programming interface, lets developers access specific data points and program functions without exposing the rest of the application’s source code.
Using APIs
One of the strengths of the TUNE platform is its powerful two-way API. Here are three common examples that illustrate how APIs can be used:
- Pull external data into your own system: For example, the TUNE API allows you to pull statistics on your ad campaigns out of our system and into yours. This is a very simple use case, and one of the most popular ones on our platform. Many customers have internal reporting and business intelligence systems that they want to integrate with their HasOffers data; our API makes this possible in real time.
- Build a custom user interface: Even more impressive, some of our customers have taken our API and used it to build out their own custom UI entirely. This requires being able to both pull information out, as well as push information in to the system via our two-way API.
- Integrate third-party functionality: Third-party integrations are another popular use of APIs. Suppose two different software companies want to make their products work together seamlessly. If they each have an API, developers can quickly write a script that tells them how to communicate with each other. Once this has been set up, all the end user needs to do is supply either an API key or login for the third-party system to complete the integration. A common example of this is the Facebook Login functionality you see on a lot of websites.
Spotting APIs in the Wild
Chances are, you’re already using an app or tool that was built using an API. Have you ever organized your Twitter feed using TweetDeck? This third-party app became so popular with users that it was acquired by Twitter just a few short years after it was created.
Many popular mobile apps leverage APIs to bring popular websites to your iOS or Android device as well. Craigslist has famously never released a mobile app, but they do have an API. You can find dozens of different Craigslist clients for your mobile device that have been created by enterprising developers.
If you are a new or hobbyist developer, working with APIs can be a great way to get your feet wet in the massive world of web apps. Codecademy has some excellent free courses to help you get started, like this one for the Watson API.
Wrapping Things Up
As we march further towards an always-online society, the ability for applications and devices to communicate with each other becomes even more paramount. I’d be willing to bet that the Internet of Things is going to be heavily powered by APIs and bright young developers doing new and creative things with them.
Originally posted on the TUNE blog