ExTwitter.Parser (extwitter v0.14.0) View Source
Provides parser logics for API results.
Link to this section Summary
Functions
Parse access_token response.
Parse batch user/lookup request parameters for the API.
Parse bounding box record from the API response JSON.
Parse coordinates record from the API response JSON.
Parse direct message record from the API response JSON.
Parse geo record from the API response JSON.
Parse hashtags record from the API response JSON.
Parse trend record from the API response JSON.
Parse cursored ids.
Parse list record from the API response JSON.
Parse media record from the API response JSON.
Parse place record from the API response JSON.
Parse polls record from the API response JSON.
Parse user profile banner from the API response JSON.
Parse profile geo record from the API response JSON.
Parse follower relationship from the API response JSON.
Parse request parameters for the API.
Parse request_token response
Parse size record from the API response JSON.
Parse symbols record from the API response JSON.
Parse trend record from the API response JSON.
Parse tweet record from the API response JSON.
Parse urls record from the API response JSON.
Parse user record from the API response JSON.
Parse user mentions record from the API response JSON.
Parse cursored users.
Link to this section Functions
Specs
parse_access_token(map()) :: ExTwitter.Model.AccessToken.t()
Parse access_token response.
Specs
Parse batch user/lookup request parameters for the API.
Specs
parse_bounding_box(map() | nil) :: ExTwitter.Model.BoundingBox.t() | nil
Parse bounding box record from the API response JSON.
Specs
parse_coordinates(map() | nil) :: ExTwitter.Model.Coordinates.t() | nil
Parse coordinates record from the API response JSON.
Parse direct message record from the API response JSON.
Specs
parse_entities(map()) :: ExTwitter.Model.Entities.t()
Specs
parse_extended_entities(map() | nil) :: ExTwitter.Model.ExtendedEntities.t() | nil
Specs
parse_geo(map() | nil) :: ExTwitter.Model.Geo.t() | nil
Parse geo record from the API response JSON.
Specs
parse_hashtags(map() | [map()] | nil) :: ExTwitter.Model.Hashtag.t() | [ExTwitter.Model.Hashtag.t()]
Parse hashtags record from the API response JSON.
Specs
parse_ids(map()) :: [pos_integer()]
Parse trend record from the API response JSON.
Specs
parse_ids_with_cursor(map()) :: ExTwitter.Model.Cursor.t()
Parse cursored ids.
Specs
parse_list(map()) :: ExTwitter.Model.List.t()
Parse list record from the API response JSON.
Specs
parse_media(map() | [map()] | nil) :: ExTwitter.Model.Media.t() | [ExTwitter.Model.Media.t()]
Parse media record from the API response JSON.
Specs
parse_place(map() | nil) :: ExTwitter.Model.Place.t() | nil
Parse place record from the API response JSON.
Specs
parse_polls(map() | [map()] | nil) :: ExTwitter.Model.Poll.t() | [ExTwitter.Model.Poll.t()]
Parse polls record from the API response JSON.
Specs
parse_profile_banner(map()) :: ExTwitter.Model.ProfileBanner.t()
Parse user profile banner from the API response JSON.
Specs
parse_profile_geo(map() | [map()] | nil) :: ExTwitter.Model.ProfileGeo.t() | [ExTwitter.Model.ProfileGeo.t()] | nil
Parse profile geo record from the API response JSON.
Specs
parse_relationships(map()) :: [ExTwitter.Model.Relationship.t()]
Parse follower relationship from the API response JSON.
Specs
Parse request parameters for the API.
Specs
parse_request_token(map()) :: ExTwitter.Model.RequestToken.t()
Parse request_token response
Specs
Specs
parse_size(map()) :: ExTwitter.Model.Size.t()
Parse size record from the API response JSON.
Specs
parse_symbols(map() | [map()] | nil) :: ExTwitter.Model.Symbol.t() | [ExTwitter.Model.Symbol.t()]
Parse symbols record from the API response JSON.
Specs
parse_trend(map()) :: ExTwitter.Model.Trend.t()
Parse trend record from the API response JSON.
Specs
parse_tweet(map() | nil) :: ExTwitter.Model.Tweet.t() | nil
Parse tweet record from the API response JSON.
Specs
parse_upload(map()) :: ExTwitter.Model.Upload.t()
Specs
parse_urls(map() | [map()] | nil) :: ExTwitter.Model.URL.t() | [ExTwitter.Model.URL.t()]
Parse urls record from the API response JSON.
Specs
parse_user(map()) :: ExTwitter.Model.User.t()
Parse user record from the API response JSON.
Specs
parse_user_mentions(map() | [map()] | nil) :: ExTwitter.Model.UserMention.t() | [ExTwitter.Model.UserMention.t()]
Parse user mentions record from the API response JSON.
Specs
parse_users_with_cursor(map()) :: ExTwitter.Model.Cursor.t()
Parse cursored users.