Using Temboo
Enable digital transformation at your organization.
Get started with Bluetooth
Have something to say after reading an article online? So does avidcommenter800. That conversational space very likely exists courtesy of Disqus, a service that provides commenting and online discussion for websites. The API lets developers' applications interact with Disqus data.
Development Boards
Select the dev board you want to generate code for.
Tell us how your board connects to the internet.
Sensors and Actuators
Sense anything. Choose predefined sensors or select other to set up a generic sensor that reads pin voltage.
Use conditional logic to trigger Temboo Choreos based on sensor values.
Choose pre-defined actuators for real-world actions, or select generic actuators to output raw data.
Security Tips
We recommend keeping important credentials out of your code by storing them using Profiles. This also reduces memory consumption and makes it easy to update them without changing your code.
You’ll need to go through the OAuth process to obtain proper credentials which Temboo has simplified with Choreos. We recommend checking out this video before getting started with OAuth.
Create a Twilio account and obtain your AccountSID and authorization token by looking at your Dashboard (see our full setup instructions ).
Create a Nexmo account and obtain your API Key and API Secret in the API Settings menu API Settings menu (see our full setup instructions ).
Generating Input Values
Give the process an input value e.g., "New York City". You'll find notes for valid inputs by scrolling to the bottom of the page.
Fill in the desired Subject, FromAddress, ToAddress, and MessageBody.
Code Generation
Click 'Generate Code' to test that your inputs are valid.
Set a condition based on your actuator values if your Yun should call based on an output.
Select from the list of boards that come pre-shipped with Temboo's libraries.
Download your code and you’re ready to run.
Log in to Google's Developer Console, and create a new Project if you haven't done so already.
In the Google API Manager, search for the API you'd like to enable and click Enable.
Go to the credentials tab and create a new Client ID and specify Web Browser for the Application Type.
Save the Consent screen details. Specify this callback URL as the Authorized Redirect URI:
https://ACCOUNT_NAME.temboolive.com/callback/google
Authentication
Plug in the Client ID you've generated into the first input.
Specify any scopes your application requires. Scroll to the Notes section at the bottom of the Choreo page to find the scopes available for Google APIs in the Temboo library.
Click the 'Generate Code' button to generate your Authorization URL and Callback ID.
Open a new web browser tab, navigate to the authorization URL returned by the InitializeOAuth Choreo, and click "Accept" to grant the app access to your Google account.
Finalizing OAuth
Use the new credentials you've just generated in the FinalizeOAuth Choreo.
Obtain your credentials by following the instructions in the InitializeOAuth Choreo page. Use the CallbackID generated during the InitializeOAuth process as an input here.
Click the 'Generate Code' button to generate your Refresh Token.
You'll need the Refresh Token, Client ID, and Client Secret to run the Google Choreo you're working with.
Use the Refresh Token along with the Client ID and Client Secret to authenticate with Google for the Google Choreo you're interested in.
IDE and Device Setup
Make sure you've got the latest version of the Arduino IDE - it comes with the Temboo library already installed.
Use the Library Manager in the Arduino IDE to make sure you have the latest version of the Temboo library.
Confirm that your Arduino board is connected to the internet.
Protect your device from malicious attacks. Change its default name and password before connecting it to the internet.
Open your auto-generated code in the Arduino IDE and upload it to your board. You can use the serial monitor to see your board connecting to Temboo.
Make sure you've got the latest version of the Energia IDE - it comes with the Temboo library already installed.
Confirm that your LaunchPad is connected to the internet.
Open Energia and make sure you've got the correct board selected in the "Tools > Board" menu. Upload the code to your board and use the serial monitor to see your board connecting to Temboo.
Tutorials
You can find full instructions for running Temboo code on the Samsung ARTIK in this tutorial.
You can find full instructions for running Temboo iOS code in this tutorial.
You can find full instructions for running Temboo Node.js code in this tutorial.
You can find full instructions for running Temboo PHP code in this tutorial.
You can find full instructions for running Temboo Processing code in this tutorial.
You can find full instructions for running Temboo Python code in this tutorial.
You can find full instructions for running Temboo Ruby code in this tutorial.
You can find full instructions for running Temboo C# code in this tutorial.
You can find full instructions for running Temboo JavaScript code in this tutorial.
You can find full instructions for running Temboo Java code in this tutorial.
You can find full instructions for running Temboo Android code in this tutorial.
cURL Snippet
Copy the cURL snippet and run it from a terminal window - that's it!