forked from eecs394-s18/SeatCrawler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.py
144 lines (138 loc) · 4.46 KB
/
types.py
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
"""
Valid types to be optionally used in Google Place query api calls.
@author: [email protected]
"""
TYPE_ACCOUNTING = 'accounting'
TYPE_AIRPORT = 'airport'
TYPE_AMUSEMENT_PARK = 'amusement_park'
TYPE_AQUARIUM = 'aquarium'
TYPE_ART_GALLERY = 'art_gallery'
TYPE_ATM = 'atm'
TYPE_BAKERY = 'bakery'
TYPE_BANK = 'bank'
TYPE_BAR = 'bar'
TYPE_BEAUTY_SALON = 'beauty_salon'
TYPE_BICYCLE_STORE = 'bicycle_store'
TYPE_BOOK_STORE = 'book_store'
TYPE_BOWLING_ALLEY = 'bowling_alley'
TYPE_BUS_STATION = 'bus_station'
TYPE_CAFE = 'cafe'
TYPE_CAMPGROUND = 'campground'
TYPE_CAR_DEALER = 'car_dealer'
TYPE_CAR_RENTAL = 'car_rental'
TYPE_CAR_REPAIR = 'car_repair'
TYPE_CAR_WASH = 'car_wash'
TYPE_CASINO = 'casino'
TYPE_CEMETERY = 'cemetery'
TYPE_CHURCH = 'church'
TYPE_CITY_HALL = 'city_hall'
TYPE_CLOTHING_STORE = 'clothing_store'
TYPE_CONVENIENCE_STORE = 'convenience_store'
TYPE_COURTHOUSE = 'courthouse'
TYPE_DENTIST = 'dentist'
TYPE_DEPARTMENT_STORE = 'department_store'
TYPE_DOCTOR = 'doctor'
TYPE_ELECTRICIAN = 'electrician'
TYPE_ELECTRONICS_STORE = 'electronics_store'
TYPE_EMBASSY = 'embassy'
TYPE_ESTABLISHMENT = 'establishment'
TYPE_FINANCE = 'finance'
TYPE_FIRE_STATION = 'fire_station'
TYPE_FLORIST = 'florist'
TYPE_FOOD = 'food'
TYPE_FUNERAL_HOME = 'funeral_home'
TYPE_FURNITURE_STORE = 'furniture_store'
TYPE_GAS_STATION = 'gas_station'
TYPE_GENERAL_CONTRACTOR = 'general_contractor'
TYPE_GEOCODE = 'geocode'
TYPE_GROCERY_OR_SUPERMARKET = 'grocery_or_supermarket'
TYPE_GYM = 'gym'
TYPE_HAIR_CARE = 'hair_care'
TYPE_HARDWARE_STORE = 'hardware_store'
TYPE_HEALTH = 'health'
TYPE_HINDU_TEMPLE = 'hindu_temple'
TYPE_HOME_GOODS_STORE = 'home_goods_store'
TYPE_HOSPITAL = 'hospital'
TYPE_INSURANCE_AGENCY = 'insurance_agency'
TYPE_JEWELRY_STORE = 'jewelry_store'
TYPE_LAUNDRY = 'laundry'
TYPE_LAWYER = 'lawyer'
TYPE_LIBRARY = 'library'
TYPE_LIQUOR_STORE = 'liquor_store'
TYPE_LOCAL_GOVERNMENT_OFFICE = 'local_government_office'
TYPE_LOCKSMITH = 'locksmith'
TYPE_LODGING = 'lodging'
TYPE_MEAL_DELIVERY = 'meal_delivery'
TYPE_MEAL_TAKEAWAY = 'meal_takeaway'
TYPE_MOSQUE = 'mosque'
TYPE_MOVIE_RENTAL = 'movie_rental'
TYPE_MOVIE_THEATER = 'movie_theater'
TYPE_MOVING_COMPANY = 'moving_company'
TYPE_MUSEUM = 'museum'
TYPE_NIGHT_CLUB = 'night_club'
TYPE_PAINTER = 'painter'
TYPE_PARK = 'park'
TYPE_PARKING = 'parking'
TYPE_PET_STORE = 'pet_store'
TYPE_PHARMACY = 'pharmacy'
TYPE_PHYSIOTHERAPIST = 'physiotherapist'
TYPE_PLACE_OF_WORSHIP = 'place_of_worship'
TYPE_PLUMBER = 'plumber'
TYPE_POLICE = 'police'
TYPE_POST_OFFICE = 'post_office'
TYPE_REAL_ESTATE_AGENCY = 'real_estate_agency'
TYPE_RESTAURANT = 'restaurant'
TYPE_ROOFING_CONTRACTOR = 'roofing_contractor'
TYPE_RV_PARK = 'rv_park'
TYPE_SCHOOL = 'school'
TYPE_SHOE_STORE = 'shoe_store'
TYPE_SHOPPING_MALL = 'shopping_mall'
TYPE_SPA = 'spa'
TYPE_STADIUM = 'stadium'
TYPE_STORAGE = 'storage'
TYPE_STORE = 'store'
TYPE_SUBWAY_STATION = 'subway_station'
TYPE_SYNAGOGUE = 'synagogue'
TYPE_TAXI_STAND = 'taxi_stand'
TYPE_TRAIN_STATION = 'train_station'
TYPE_TRAVEL_AGENCY = 'travel_agency'
TYPE_UNIVERSITY = 'university'
TYPE_VETERINARY_CARE = 'veterinary_care'
TYPE_ZOO = 'zoo'
# The following types supported by the Places API when sending
# Place Search requests. These types cannot be used when adding a new Place.
TYPE_ADMINISTRATIVE_AREA_LEVEL_1 = 'administrative_area_level_1'
TYPE_ADMINISTRATIVE_AREA_LEVEL_2 = 'administrative_area_level_2'
TYPE_ADMINISTRATIVE_AREA_LEVEL_3 = 'administrative_area_level_3'
TYPE_COLLOQUIAL_AREA = 'colloquial_area'
TYPE_COUNTRY = 'country'
TYPE_FLOOR = 'floor'
TYPE_INTERSECTION = 'intersection'
TYPE_LOCALITY = 'locality'
TYPE_NATURAL_FEATURE = 'natural_feature'
TYPE_NEIGHBORHOOD = 'neighborhood'
TYPE_POLITICAL = 'political'
TYPE_POINT_OF_INTEREST = 'point_of_interest'
TYPE_POST_BOX = 'post_box'
TYPE_POSTAL_CODE = 'postal_code'
TYPE_POSTAL_CODE_PREFIX = 'postal_code_prefix'
TYPE_POSTAL_TOWN = 'postal_town'
TYPE_PREMISE = 'premise'
TYPE_ROOM = 'room'
TYPE_ROUTE = 'route'
TYPE_STREET_ADDRESS = 'street_address'
TYPE_STREET_NUMBER = 'street_number'
TYPE_SUBLOCALITY = 'sublocality'
TYPE_SUBLOCALITY_LEVEL_4 = 'sublocality_level_4'
TYPE_SUBLOCALITY_LEVEL_5 = 'sublocality_level_5'
TYPE_SUBLOCALITY_LEVEL_3 = 'sublocality_level_3'
TYPE_SUBLOCALITY_LEVEL_2 = 'sublocality_level_2'
TYPE_SUBLOCALITY_LEVEL_1 = 'sublocality_level_1'
TYPE_SUBPREMISE = 'subpremise'
TYPE_TRANSIT_STATION = 'transit_station'
# autocomplete types
AC_TYPE_GEOCODE = 'geocode'
AC_TYPE_ADDDRESS = 'address'
AC_TYPE_ESTABLISHMENT = 'establishment'
AC_TYPE_REGIONS = '(regions)'
AC_TYPE_CITIES = '(cities)'