View Source Tw.V1_1.Place (Tw v0.1.1)
Place data structure and related functions. https://developer.twitter.com/en/docs/twitter-api/v1/data-dictionary/object-model/geo
Link to this section Summary
Types
field description id
ID representing this place. Note that this is represented as a string, not an integer. Example: "01a9a39529b27f36"
.url
URL representing the location of additional place metadata for this place. Example: "https://api.twitter.com/1.1/geo/id/01a9a39529b27f36.json"
.place_type
The type of location represented by this place. Example: "city"
.name
Short human-readable representation of the place’s name. Example: "Manhattan"
.full_name
Full human-readable representation of the place’s name. Example: "Manhattan, NY"
.country_code
Shortened country code representing the country containing this place. Example: "US"
.country
Name of the country containing this place. Example: "United States"
.bounding_box
A bounding box of coordinates which encloses this place. attributes
When using PowerTrack, 30-Day and Full-Archive Search APIs, and Volume Streams this hash is null. Example: {}
.
Link to this section Types
Specs
id() :: binary()
Specs
t() :: %Tw.V1_1.Place{ attributes: map(), bounding_box: Tw.V1_1.BoundingBox.t(), country: binary(), country_code: binary(), full_name: binary(), id: id(), name: binary(), place_type: binary(), url: binary() }
field description id
ID representing this place. Note that this is represented as a string, not an integer. Example: "01a9a39529b27f36"
.url
URL representing the location of additional place metadata for this place. Example: "https://api.twitter.com/1.1/geo/id/01a9a39529b27f36.json"
.place_type
The type of location represented by this place. Example: "city"
.name
Short human-readable representation of the place’s name. Example: "Manhattan"
.full_name
Full human-readable representation of the place’s name. Example: "Manhattan, NY"
.country_code
Shortened country code representing the country containing this place. Example: "US"
.country
Name of the country containing this place. Example: "United States"
.bounding_box
A bounding box of coordinates which encloses this place. attributes
When using PowerTrack, 30-Day and Full-Archive Search APIs, and Volume Streams this hash is null. Example: {}
.
Link to this section Functions
Specs
Decode JSON-decoded map into t/0