CoreTweet  2.0.0-beta.2
Yet another .NET Twitter Library
Public Member Functions | Properties | List of all members
CoreTweet.Place Class Reference

Represents a place, which are specific, named locations with corresponding geo coordinates. More...

Inheritance diagram for CoreTweet.Place:
CoreTweet.Core.CoreBase CoreTweet.PlaceResponse

Public Member Functions

override string ToString ()
 Returns the ID of this instance. More...
 

Properties

IDictionary< string, string > Attributes [get, set]
 
BoundingBox BoundingBox [get, set]
 Gets or sets a bounding box of coordinates which encloses this place. More...
 
double[] Centroid [get, set]
 
Place[] ContainedWithin [get, set]
 Gets or sets the array of Places contained within this Place. More...
 
string Country [get, set]
 Gets or sets the name of the country containing this place. More...
 
string CountryCode [get, set]
 Gets or sets the shortened country code representing the country containing this place. More...
 
string FullName [get, set]
 Gets or sets the full human-readable representation of the name of the place. More...
 
Coordinates Geometry [get, set]
 
string Id [get, set]
 
string Name [get, set]
 Gets or sets the short human-readable representation of the name of the place. More...
 
string PlaceType [get, set]
 Gets or sets the type of location represented by this place. More...
 
string[] Polylines [get, set]
 
string Url [get, set]
 Gets or sets the URL representing the location of additional place metadata for this place. More...
 
GeoVendorInfo VendorInfo [get, set]
 

Additional Inherited Members

- Static Public Member Functions inherited from CoreTweet.Core.CoreBase
static T Convert< T > (string json, string jsonPath="")
 Converts the JSON to a twitter object of the specified type. More...
 
static List< T > ConvertArray< T > (string json, string jsonPath)
 

Detailed Description

Represents a place, which are specific, named locations with corresponding geo coordinates.

They can be attached to Tweets by specifying a place_id when tweeting.

Tweets associated with places are not necessarily issued from that location but could also potentially be about that location.

Places can be searched for.

Tweets can also be found by place_id.

Member Function Documentation

◆ ToString()

override string CoreTweet.Place.ToString ( )
inline

Returns the ID of this instance.

Returns
The ID of this instance.

Property Documentation

◆ Attributes

IDictionary<string, string> CoreTweet.Place.Attributes
getset

Gets or sets a hash of variant information about the place.

◆ BoundingBox

BoundingBox CoreTweet.Place.BoundingBox
getset

Gets or sets a bounding box of coordinates which encloses this place.

◆ Centroid

double [] CoreTweet.Place.Centroid
getset

◆ ContainedWithin

Place [] CoreTweet.Place.ContainedWithin
getset

Gets or sets the array of Places contained within this Place.

◆ Country

string CoreTweet.Place.Country
getset

Gets or sets the name of the country containing this place.

◆ CountryCode

string CoreTweet.Place.CountryCode
getset

Gets or sets the shortened country code representing the country containing this place.

◆ FullName

string CoreTweet.Place.FullName
getset

Gets or sets the full human-readable representation of the name of the place.

◆ Geometry

Coordinates CoreTweet.Place.Geometry
getset

◆ Id

string CoreTweet.Place.Id
getset

Gets or sets the ID representing this place.

Note that this is represented as a string, not an integer.

In trends/available or trends/closest, ID is a Yahoo! Where On Earth ID.

◆ Name

string CoreTweet.Place.Name
getset

Gets or sets the short human-readable representation of the name of the place.

◆ PlaceType

string CoreTweet.Place.PlaceType
getset

Gets or sets the type of location represented by this place.

◆ Polylines

string [] CoreTweet.Place.Polylines
getset

◆ Url

string CoreTweet.Place.Url
getset

Gets or sets the URL representing the location of additional place metadata for this place.

◆ VendorInfo

GeoVendorInfo CoreTweet.Place.VendorInfo
getset

The documentation for this class was generated from the following file: