twitter_api_v2
library
Classes
ComplianceData
ComplianceService
This class provides methods to easily access endpoints based on Compliance.
FilteredStreamResponse
FilteringRuleData
FilteringRuleMeta
FilteringRuleParam
The object that contains filtering rule information.
Geo
GeoCoordinates
Includes
ListData
The list object contains Twitter Lists metadata describing the referenced
List.
ListMeta
ListsService
This class provides methods to easily access endpoints based on List.
MatchingRule
MediaData
Media refers to any image, GIF, or video attached to a Tweet. The media
object is not a primary object on any endpoint, but can be found and
expanded in the Tweet object.
Mention
OAuthTokens
This class represents an access token used for OAuth 1.0a authentication.
OAuthUtils
Provides the convenience utils for OAuth.
OrganicMediaMetrics
PlaceData
The place tagged in a Tweet is not a primary object on any endpoint, but
can be found and expanded in the Tweet resource.
PlaceGeo
PollData
A poll included in a Tweet is not a primary object on any endpoint,
but can be found and expanded in the Tweet object.
PollOption
PrivateMediaMetrics
PromotedMediaMetrics
PublicMediaMetrics
RetryConfig
This class represents an automatic retry configuration.
RetryEvent
This class represents the event during the retry process.
SpaceData
Spaces allow expression and interaction via live audio conversations.
SpaceMeta
SpacesService
This class provides methods to easily access endpoints based on Space.
Tag
TopicData
Tweets are the basic building block of all things Twitter. The Tweet object
has a long list of root-level
fields, such as id
, text
, and
createdAt
.
The object that contains location information for a Tweet.
The object that contains media information being attached to create Tweet.
The object that contains options for a Tweet with a poll.
The object that contains information of the Tweet being replied to.
This class provides methods to easily access endpoints based on Tweet.
This class represents Twitter API v2.0
.
The class represents the response from Twitter API v2.
Url
UserData
The user object contains Twitter user account metadata describing the
referenced user.
UserMeta
This class provides methods to easily access endpoints based on User.
Exceptions / Errors
RateLimitExceededException
This exception indicates that the number of requests for a particular
endpoint exceeds the rate limit defined by the Twitter API.
This exception indicates that an unexpected error occurred when
communicating with the Twitter API.
UnauthorizedException
This exception is thrown to indicate that the specified access token was not
authorized by the server as a result of its use in the request.