This Killer New Service Lets You Connect To Any Popular API--Without Wrappers

It’s called Temboo, and it’s about to make your web app considerably more awesome--and easier to build.

In modern apps, API integration is crucial; without connecting to the other networks we use, an app is just a silo. By now, developers have largely accepted the headaches of dealing with APIs--the hours lost building and modifying wrappers--as a natural part of the development process. By the time programmers start cranking out the original code for their project, they’ve often already lost creative momentum just integrating with other services.

Temboo is one of those rare developer tools which could quickly become invaluable to app builders. What follows is a simplified explanation of how this little startup is attempting to save the world thousands of hours of busy work--and, if they succeed, what their service means for the future of the Internet of Things.

Why APIs Cause Developers Pain

The real hassle with APIs is that your knowledge of one doesn’t translate to another. Once you get the hang of one kind of integration, it doesn’t help you much with the second. It’s hard to build up knowledge this way; each API has its own learning curve, its own methods, its own way of returning data in different formats. APIs also have different authentication protocols for login.

And that’s leaving aside the perpetual updates that API creators release, forcing developers to update their code. Some web services give warnings of changes, some don’t. Documentation, which explains how to interact with the data, is also inconsistent in quality between sites. If app developers don’t take note of a change happening on an API on their app and don’t update their code accordingly, the results can be catastrophic.

What Temboo Does

Temboo acts like a layer on top of the APIs, providing users with code snippets that trigger complex processes that run on their cloud platform. For every five to six lines of Temboo code inside your program, there are about 200 on the cloud.

Take any sample code for specific Choreos in Temboo’s library, and you'll see that the code looks very similar when compared to one for a different API. This is because when these code snippets are run, they call up Temboo's cloud platform, which then performs the process, often but not always an API interaction, and returns the data.

Without Temboo, programmers have to learn the particular way to "talk" to an API. The goal is for the cloud to compute all the sophisticated steps. When a change occurs on an API, which is often, Temboo updates their code on the cloud side. Before this, programmers would change their code manually, but now it is no longer necessary. Vaughn Shinall, director of product outreach at Temboo, explained some of possibilities this unlocks.

“You have less of your own code to maintain and the code that you’re actually writing is the most creative part of it,” says Shinall. “Now you can just focus on what’s groundbreaking and unique about your invention rather than reinventing the wheel for all the other steps. Why should you ever have to program something that someone else has already figured out?”

More Than An API Curator

At a glance, APIs are the most prominent feature of Temboo’s service, but scrolling a little longer has big rewards. Temboo’s “Utilities” Tab allows users to do things like generate emails, convert data, and use their authentication plug-ins like OAuth.

OAuth is a popular authentication protocol. It works by generating a temporary password with limited privileges to a user’s profile, whether it is a twitter handle or Facebook timeline, depending on the app’s purpose.

Most APIs use OAuth. Understanding it is key when trying to build an app that interacts with a user’s outside information. It can get confusing, but Temboo offers a package similar to the ones it offers for APIs.

“This is a great tool for both new programmers and experienced ones. We want to make it easy to be a programmer and have the freedom to use whatever language you are most comfortable with. No one is really focused on the user experience for programmers,” says Shinall.

What This Means For The Internet Of Things

Temboo recently partnered with Arduino to answer one question--“Makers are going to want to make projects that interact with APIs, how can we make it easier?”

When you are using Temboo’s code, you are only putting five or six lines on the small board as opposed to the cloud’s equivalent 200 lines of code.

Temboo’s cloud is doing the complex interactions executing the actual code. In a way, Temboo allows the cloud to exist inside of small boards. This allows hardware that doesn’t have much RAM or sophisticated processing power to behave much more intelligently. Precisely enough, Yun in Mandarin translates to cloud.

At times, APIs return information the user may not have even requested. “For example, the Foursquare API will just send all of this crazy glut back to you with extra details that you may not need. Say you want to check on the status of a venue on Foursquare, the data sent back will tell you who is the mayor of that region, how many people are checked in, and blah blah blah. But maybe you only want to know its rating,” says Shinall.

This extra amount of unnecessary information is usually not a problem if it is sent back to a regular computer, but on a small piece of hardware that amount of data can be overwhelming for the RAM.

Temboo created output filters so that when you’re writing in a Choreo, you can select what data you want the API the cloud to shoot back.

Small hardware opens up a whole new world of possibilities for what can be done with Temboo past an API standpoint, making it ideal for programming tiny hardware and running Internet Of Things applications. “The thing about connected devices everywhere is that they are not computers. They have no visual interfaces sometimes,” explains Shinall. “It’s hard to access a pipe in a warehouse or a device out in the agricultural field reading soil temperature.”

The fact stands. These devices are not as smart as a computer, making them harder to update the software they run on whenever they are due for an upgrade. With Temboo, the device is hooking up to a cloud-based system, eliminating the need to go dig it out in the fields. Now, makers can just update the code on their computer and keep the device updated this way.

“It’s really easy to program connected devices. You can create all sorts of interactions. Think of all the different things it makes possible. The menu on a TV never gets updated since you don’t plug it in. Now, you can have virtual firmware. That’s the interesting story and it’s where we see the technology going,” says Shinall.

As cloud computing technology develops, the ability to hold the cloud power without a huge server on location is powering small devices.

“We’re excited about embracing a whole new audience. Makers are an awesome group of people, full of great ideas. As more and more companies are making new small boards, like Intel, Texas Instruments, and Raspberry Pi, this huge build up of creative is building up so that the Internet of Things is becoming more of a real thing. We’re proud to be part of something that connects everything together,” says Shinall.

[Image: Flickr user Sarah]

Add New Comment


  • Mathieu Provencher

    Great innovation but remember that these Arduino devices will now require another component in order to work: ethernet plug or wireless chip. In this way, if you don't have access to the internet during some time, you will not be able to use your device. Better optimize your code and add a little bit of RAM on your board than requiring cloud access everytime the device is powered up.