Learn R Programming

twitteR (version 0.99.19)

rateLimitInfo-class: Class "rateLimitInfo": A class to represent rate limit information

Description

This class provides a model representing rate limit information from the Twitter API

Arguments

Details

The rateLimitInfo class is implemented as a reference class. The only S4 method provided is a show method. An instance of a generator for this class is provided as a convenience to the user as it is configured to handle most standard cases. To access this generator, use the object rateLimitInfoFactory. Accessor set & get methods are provided for every field using reference class $accessors() methodology (see setRefClass for more details). As an example, the hourlyLimit field could be accessed using object$getHourlyLimit() and object$setHourlyLImit().

See Also

getCurRateLimitInfo, setRefClass

Examples

Run this code
zz <- getCurRateLimitInfo()
  zz$getRemainingHits()

Run the code above in your browser using DataLab