Drumroll: Introducing The JavaScript SDK

July 31 2014

Calling all JavaScriveners! We’ve just added JavaScript as our eleventh SDK so that you can do more designing and building on the web with all of Temboo’s 2000+ Choreos. Get started here and send us your thoughts at hey@temboo.com. We can’t wait to see what you create!

Calling all JavaScriveners! We’ve just added JavaScript as our eleventh SDK so that you can do more designing and building on the web with all of Temboo’s 2000+ Choreos. Get started here and send us your thoughts at hey@temboo.com. We can’t wait to see what you create!

Temboo Ignited with a Spark

June 5 2014

Today we have a guest post from Karl Kaiser; check out his blog to read more about his work with IoT:

I am working with connected devices and was looking for a cloud service. While surveying the field Temboo caught my eye because of the large number of supported premium web sites and the promise to connect IoT devices to the Internet in a breeze.

imageThe connected device I am using is a Spark Core. The Spark Core is a sleek, small board that offers a powerful 32 bit ARM CPU paired with WiFi. The product grew out of a Kickstarter campaign and is rapidly gaining in popularity. The Spark is nicely priced and everything is open source. The team supporting the Spark Core is smart and supportive and made a great choice to port most of the main Arduino APIs to their platform. As outlined in a blog post here, migrating Arduino Libraries to the Spark Core often turns out to be pretty easy.

With Temboo providing an open source library for Arduino, I was tempted to give it a try. However, I had no Temboo-Arduino setup so I was not sure how hard it would be to get it all up and running.

Well, I am happy to report that it was easier than expected. Temboo’s code is well written. I only had to work around some AVR-specific optimizations that Temboo did to save program memory. As the Spark Core is built around a STM32-103F chip, resources are not as tight as with the AVR, so I simply bypassed these optimizations.

Here are some brief instructions for how to install the Temboo Arduino Library. The instructions use the Spark command line SDK setup.

1. Download the modified Temboo Arduino Library source code from GitHub:

mkdir temboo 
cd temboo
git clone http://github.com/Bentuino/temboo.git

2. Get the Spark Core firmware:

git clone https://github.com/spark/core-firmware.git
git clone https://github.com/spark/core-common-lib.git
git clone https://github.com/spark/core-communication-lib.git

// Merge the two source codes
cp -fr core-* temboo
rm core-*

3. In older Spark firmware there is a small problem that the Spark team already fixed. Open the file core-firmware/inc/spark_wiring_ipaddress.h and uncomment line 54 with your favorite editor:

// Overloaded cast operator to allow IPAddress objects to be used 
// where a pointer to a four-byte uint8_t array is expected
// operator uint32_t() { return *((uint32_t*)_address); };

bool operator==(const IPAddress& addr) { return (*((uint32_t*)_address))
== (*((uint32_t*)addr._address)); };
bool operator==(const uint8_t* addr);

4. Save the TembooAccount.h file you generated with Device Coder to temboo-arduino-library-1.2Temboo

5. Now it is time to build the Spark application

cd temboo/temboo/core-firmware/build
make -f makefile.temboo clean all

6. Connect your Spark Core to your computer via a USB cable

7. Push both buttons, release the Reset button and continue holding the other button until RGB-LED lights up yellow

8. Download application into Spark Core

make -f makefile.temboo program-dfu

Temboo Examples

Two simple Spark application examples are included:

  • core-firmware/src/application_gxls.cpp – Example demonstrates the Temboo library with Google Spreadsheet
  • core-firmware/src/application_gmail.cpp – Example demonstrates the Temboo library with Gmail

To change the example that is built, edit the first line in the core-firmware/src/build.mk file:

CPPSRC += $(TARGET_SRC_PATH)/application_gxls.cpp

or:

CPPSRC += $(TARGET_SRC_PATH)/application_gmail.cpp

Building this code was tested under Windows 8.1 using cygwin and the MINGW version of the ARM GCC compiler tool chain. It should be easy to use this Temboo Library with the Spark Cloud-based SDK. To configure the Library to support Spark all that is required is to define the following label:

CFLAGS += -DSPARK_PRODUCT_ID=$(SPARK_PRODUCT_ID)

or add a

#define SPARK_PRODUCT_ID SPARK_PRODUCT_ID

to the source code.

Temboo support for the Spark Core is a lot of fun. It is easy to set up your own Temboo account and compile the Temboo Arduino Library that now supports the Spark Core platform. To learn more about similar projects please visit my blog at http://bentuino.com.

If you are interested in being a guest blogger for Temboo, don’t hesitate to reach out to us at hey@temboo.com!

Today we have a guest post from Karl Kaiser; check out his blog to read more about his work with IoT: I am working with connected devices and was looking for a cloud service. While surveying the field Temboo caught my eye because of the large number of supported premium web sites and the promise to connect IoT devices […]

The Summer of 1.69

May 22 2012

If it’s hot in here, it’s definitely because our sizzling new release just dropped. Version numero 1.69 is all about providing more powerful ways for you to make the apps you want, how you want. With this round, we seriously expanded your Temboo toolkit. Here’s how:

Our Java SDK just got some company: PHP & Python
You asked for more languages, and we listened: You can now run Choreos in Python and PHP with our new SDKs. We also sprinkled more documentation love on the Java SDK (which, FYI, is Android-friendly). And, we’re just getting started! We’ve got SDKs for more languages in the works.
New APIs in the Choreo Library
We added more APIs to our Library, including bitly, LinkedIn, Google Directions and Google Place (to name but a few). Our Choreo documentation shows you how to run them all in Java, Python, and PHP.
Code examples on GitHub
Want to see specific ways to harness API power? Check out the nuts and bolts in action on GitHub, where we’ve pushed practical examples of apps, tools, and workflows made with the Temboo SDK. You can use our extended code samples in your own code.
Interested (or, better yet, intrigued ;))? Head over to our site and give these new features a whirl.
And, if you like what you’ve seen so far on Temboo, spread the word! (If you don’t, please, please let us know.) The highest compliment you can pay us is a word-of-mouth referral.
Happy making!
If it’s hot in here, it’s definitely because our sizzling new release just dropped. Version numero 1.69 is all about providing more powerful ways for you to make the apps you want, how you want. With this round, we seriously expanded your Temboo toolkit. Here’s how: Our Java SDK just got some company: PHP & Python You […]

Hack Day 2 – playing with the SDK!

February 10 2012

…in which we finally get to hack on the product we’ve been building for months.

We’ve been working nonstop on our new product for months now, and it was about time we gave ourselves a break. So last Monday we geared up for the second in what will be a series of internal Hack Days: for each one, we band together across the company (and the country!) into small teams that each have a day to make something cool with stuff from the Temboo ecosystem.
One thing that made this Hack Day special was that it represented the first time that non-engineers in the company got to play with our new toy, the Java SDK. As a Java dabbler myself, it was really something to be able to actually use the product we had spent months designing and building out. Spoiler alert: it’s awesome.

Without further ado, here’s what we made:

Team 1 – Temboo Demos
JB, Reid, and Joaquin mocked up a “Demos” section of the Temboo Library that would feature sample applications based off of the APIs and shortcuts in the Temboo Library. The interface would break down demos by function (Search, Back up, Convert, Provision, etc) and provide our users with simple skeleton scripts they could riff off of.

Team 2 – MARTHA, the Choreo-executing Campfire bot (PLUS a button of the co-founder)
Mark W., Nick, and Noah (your handsome author) decided to add some life to the company’s Campfire room. Not only did Nick roll his own version of a Campfire chat API out of the Temboo PHP SDK (which, ahem, Nick also wrote), but we added an extra-special feature for our co-founder: we gave him a physical button he could press anytime he wanted to say hi to our non-NYC colleagues. Noah cobbled together the physical interface with an Arduino+Ethernet shield and some discrete components…it was actually doing a lot more earlier in the day, such as alerting people in the NYC office when there was increased activity in the chatroom, but he ran out of ROM space about a half hour before the gong sounded 😦

Team 3 – Geisty, the trend-summarizing agent
Matthew, Jason and Brian went all out and rolled their own fully-fledged “river of trends” that summarized what was hot on the web at the moment. They took the various “trending” methods from Google, Twitter, Youtube, and Instagram (all nicely normalized via our Library’s API abstractions), and served them up automatically to a nifty Tumblr site.

Team 4 – How Rotten Are You?
Tim, Trisala, Aaron and Grant mashed up the Netflix and Rotten Tomatoes APIs to make a site that would analyze your Netflix queue and then tell you, on average, how your taste rated on the Rotten Tomatoes scale. The team used the (under construction) Temboo REST API to execute a series of simple cURL requests to get all the needed data, then served it up in a spiffy jQuery interface. They lost a little time dealing with XSRF woes, but what would a demo be without a few hacks?

Team 5 – Trip Butler
Risa, Bob, and Monty took a pragmatic approach and made themselves a tool they actually needed: their custom Choreo helps them prepare for our upcoming all-hands meeting in the New York office. They used our in-development Twyla application (which lets you author custom Choreos) to absorb the Google Calendars of everyone on the trip (taking into account meetings, travel time, etc) and create a spreadsheet full of events and venues that were highly-recommended on Yelp, foursquare, and Google Places.

Team 6 – Sleepy Heads
Devon, Gina and Jimmy outclassed us all by coming up with an Android app AND a roadmap outlining future development for their idea…way to make us look bad, guys! The concept was a riff on the “smart” alarm clock trend exemplified by the UP and the WakeMate. This alarm takes a more pragmatic approach, using your schedule information combined with local news, traffic, and weather to make a smart estimation of the offset you should add to your normal wake-up time. For example, if the Giants win the superbowl and make everyone late, your alarm will go off early enough for you to still be the first in the office. One exciting direction this could also add would be a social aspect…the ability to bug you when your friends are already at work, getting stuff done, and you’re still in bed.

Takeaways

OAuth may be the single most common headache we all ran into. They may call it a dance, but between the confusingly inconsistent implementations, the difficult-to-automate processes, and the sometimes-nonexistent documentation, it’s definitely still more of a slog. Never fear, however – we have something in the works that will make this dance a breeze!

Harnessing the Power of Shame: At several points during our demos, we realized how much many social interactions are influenced by a fear that others will judge us…from quantifying movie tastes to a social alarm clock, it was very interesting to see this little-addressed social motive emerge as one of the more prominent design themes this time. Perhaps we should look deeper into this for the next round of hacks; but you tell us: what would you like to see us focus on next Hack Day?

…in which we finally get to hack on the product we’ve been building for months. We’ve been working nonstop on our new product for months now, and it was about time we gave ourselves a break. So last Monday we geared up for the second in what will be a series of internal Hack Days: […]
Page 1 of 1