This repository was archived by the owner on May 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathdata.py
More file actions
91 lines (86 loc) · 3.89 KB
/
Copy pathdata.py
File metadata and controls
91 lines (86 loc) · 3.89 KB
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
# -*- coding: utf-8 -*-
# Resolving gettext as _ for module loading.
from gettext import gettext as _
SKILL_NAME = "Gloucester Guide"
WELCOME = _("Welcome to Gloucester Guide!")
HELP = _("Say about, to hear more about the city, or say coffee, breakfast, lunch, or dinner, to hear local restaurant suggestions, or say recommend an attraction, or say, go outside. ")
ABOUT = _("Gloucester Massachusetts is a city on the Atlantic Ocean. A popular summer beach destination, Gloucester has a rich history of fishing and ship building.")
STOP = _("Okay, see you next time!")
FALLBACK = _("The {} can't help you with that. It can help you learn about Gloucester if you say tell me about this place. What can I help you with?")
GENERIC_REPROMPT = _("What can I help you with?")
CITY_DATA = {
"city": "Gloucester",
"state": "MA",
"postcode": "01930",
"restaurants": [
{
"name": "Zeke's Place",
"address": '66 East Main Street',
"phone": '978-283-0474',
"meals": 'breakfast, lunch',
"description": 'A cozy and popular spot for breakfast. Try the blueberry french toast!',
},
{
"name": 'Morning Glory Coffee Shop',
"address": '25 Western Avenue',
"phone": '978-281-1851',
"meals": 'coffee, breakfast, lunch',
"description": 'A homestyle diner located just across the street from the harbor sea wall.',
},
{
"name": 'Sugar Magnolias',
"address": '112 Main Street',
"phone": '978-281-5310',
"meals": 'breakfast, lunch',
"description": 'A quaint eatery, popular for weekend brunch. Try the carrot cake pancakes.',
},
{
"name": 'Seaport Grille',
"address": '6 Rowe Square',
"phone": '978-282-9799',
"meals": 'lunch, dinner',
"description": 'Serving seafood, steak and casual fare. Enjoy harbor views on the deck.',
},
{
"name": 'Latitude 43',
"address": '25 Rogers Street',
"phone": '978-281-0223',
"meals": 'lunch, dinner',
"description": 'Features artsy decor and sushi specials. Live music evenings at the adjoining Minglewood Tavern.',
},
{
"name": "George's Coffee Shop",
"address": '178 Washington Street',
"phone": '978-281-1910',
"meals": 'coffee, breakfast, lunch',
"description": 'A highly rated local diner with generously sized plates.',
},
],
"attractions": [
{
"name": 'Whale Watching',
"description": 'Gloucester has tour boats that depart twice daily from Rogers street at the harbor. Try either the 7 Seas Whale Watch, or Captain Bill and Sons Whale Watch. ',
"distance": '0',
},
{
"name": 'Good Harbor Beach',
"description": 'Facing the Atlantic Ocean, Good Harbor Beach has huge expanses of soft white sand that attracts hundreds of visitors every day during the summer.',
"distance": '2',
},
{
"name": 'Rockport',
"description": 'A quaint New England town, Rockport is famous for rocky beaches, seaside parks, lobster fishing boats, and several art studios.',
"distance": '4',
},
{
"name": 'Fenway Park',
"description": 'Home of the Boston Red Sox, Fenway park hosts baseball games From April until October, and is open for tours. ',
"distance": '38',
},
],
}
MY_API = {
"host": "https://query.yahooapis.com",
"port": 443,
"path": "/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D%22{city}%2C%20{state}%22)&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys",
}