-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathplace.go
30 lines (21 loc) · 1007 Bytes
/
place.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package twitterstream
type Place struct {
// Contains a hash of variant information about the place.
Attributes map[string]interface{} `json:"attributes"`
// A bounding box of coordinates which encloses this place.
BoundingBox Box `json:"bounding_box"`
// Name of the country containing this place.
Country string `json:"country"`
// Shortened country code representing the country containing this place.
CountryCode string `json:"country_code"`
// Full human-readable representation of the place's name.
FullName string `json:"full_name"`
// ID representing this place. Note that this is represented as a string, not an integer.
Id string `json:"id"`
// Short human-readable representation of the place's name.
Name string `json:"name"`
// The type of location represented by this place.
Type string `json:"place_type"`
// URL representing the location of additional place metadata for this place.
Url string `json:"url"`
}