SuperTweet

API

http://mbed.org/users/shintamainjp/libraries/SuperTweet/latest

Import library

Public Member Functions

SuperTweet (const std::string account, const std::string password)
Create.
virtual ~SuperTweet ()
Dispose.
void setTimeout (int ms)
Set timeout.
virtual HTTPResult getStatusesUserTimeline (void(*func)(char *buf, size_t siz)=NULL)=0
Returns the 20 most recent statuses posted by the authenticating user.
virtual HTTPResult getStatusesHomeTimeline (void(*func)(char *buf, size_t siz)=NULL)=0
Returns the 20 most recent statuses, including retweets if they exist, posted by the authenticating user and the user's they follow.
virtual HTTPResult postStatusesUpdate (const std::string datatext, void(*func)(char *buf, size_t siz)=NULL)=0
Updates the authenticating user's status.

Static Protected Attributes

static const std::string URLBASE_V1 = "http://api.supertweet.net/1/"
SuperTweet API interface driver.

Import library

Public Member Functions

SuperTweetV1XML (const std::string account, const std::string password)
Create.
virtual ~SuperTweetV1XML ()
Dispose.
virtual HTTPResult getStatusesUserTimeline (void(*func)(char *buf, size_t siz)=NULL)
Returns the 20 most recent statuses posted by the authenticating user.
virtual HTTPResult getStatusesHomeTimeline (void(*func)(char *buf, size_t siz)=NULL)
Returns the 20 most recent statuses, including retweets if they exist, posted by the authenticating user and the user's they follow.
virtual HTTPResult postStatusesUpdate (const std::string datatext, void(*func)(char *buf, size_t siz)=NULL)
Updates the authenticating user's status.
void setTimeout (int ms)
Set timeout.

Static Protected Attributes

static const std::string URLBASE_V1 = "http://api.supertweet.net/1/"
SuperTweet API interface driver.

Library

Import librarySuperTweet

SuperTweet interface driver classes.

Example application

Import programSuperTweet_TestProgram

A test program for my SuperTweet driver classes.

References


All wikipages