Resources

Renesas IoT Sandbox Documentation

Twitter Library

These functions provide access to your Twitter account. To be able to use this library, you MUST connect your Twitter account to your Renesas IoT Sandbox account.

Follow this tutorial to learn how to connect your accounts.


Import


To use this library and its functions, you must use the import line at the beginning of your Base Python code.

import Twitter


Functions


Twitter.post_status

Usage: Twitter.post_status(message)

Posts a tweet to your linked Twitter account

  • Credit cost: 1
  • Parameters:

    • message: str the text to be posted on the tweet
  • Returns: None



Sample Code


import Twitter

message = "Hello!"
Twitter.post_status(message)

Getting Started
User Roles & Permissions
Streams, Tags, & Data Types
Dashboard Widgets
API
Workflow Studio
Workflow Libraries
Metering
Special Characters
Third Party Integration
Mobile
API Explorer

Twitter Library

These functions provide access to your Twitter account. To be able to use this library, you MUST connect your Twitter account to your Renesas IoT Sandbox account.

Follow this tutorial to learn how to connect your accounts.


Import


To use this library and its functions, you must use the import line at the beginning of your Base Python code.

import Twitter


Functions


Twitter.post_status

Usage: Twitter.post_status(message)

Posts a tweet to your linked Twitter account

  • Credit cost: 1
  • Parameters:

    • message: str the text to be posted on the tweet
  • Returns: None



Sample Code


import Twitter

message = "Hello!"
Twitter.post_status(message)