-
Notifications
You must be signed in to change notification settings - Fork 0
/
info.plist
188 lines (183 loc) · 4.54 KB
/
info.plist
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>bundleid</key>
<string>com.invious.gmaps.placesearch</string>
<key>connections</key>
<dict>
<key>03DCD9A0-786E-460C-A734-DEB7F0C88D96</key>
<array>
<dict>
<key>destinationuid</key>
<string>74355592-AF60-4FCA-AC56-EBF4476AD5DA</string>
<key>modifiers</key>
<integer>0</integer>
<key>modifiersubtext</key>
<string></string>
<key>vitoclose</key>
<false/>
</dict>
</array>
<key>74355592-AF60-4FCA-AC56-EBF4476AD5DA</key>
<array>
<dict>
<key>destinationuid</key>
<string>B51D4FB5-F97E-40E6-A135-6046DED947CD</string>
<key>modifiers</key>
<integer>0</integer>
<key>modifiersubtext</key>
<string></string>
<key>vitoclose</key>
<false/>
</dict>
<dict>
<key>destinationuid</key>
<string>CF6B026C-8865-48DB-BFEF-75F77568B379</string>
<key>modifiers</key>
<integer>0</integer>
<key>modifiersubtext</key>
<string></string>
<key>vitoclose</key>
<false/>
</dict>
</array>
</dict>
<key>createdby</key>
<string>Aymon Fournier</string>
<key>description</key>
<string>simple workflow to take selected or clipboard text and return an address</string>
<key>disabled</key>
<false/>
<key>name</key>
<string>Google Maps Place Search</string>
<key>objects</key>
<array>
<dict>
<key>config</key>
<dict>
<key>lastpathcomponent</key>
<false/>
<key>onlyshowifquerypopulated</key>
<true/>
<key>removeextension</key>
<false/>
<key>text</key>
<string>Your address result has been copied to your clipboard.</string>
<key>title</key>
<string>Google Maps Places API Search</string>
</dict>
<key>type</key>
<string>alfred.workflow.output.notification</string>
<key>uid</key>
<string>B51D4FB5-F97E-40E6-A135-6046DED947CD</string>
<key>version</key>
<integer>1</integer>
</dict>
<dict>
<key>config</key>
<dict>
<key>argumenttype</key>
<integer>0</integer>
<key>keyword</key>
<string>gmapsearch</string>
<key>subtext</key>
<string>Ener query liek you would on GMaps</string>
<key>text</key>
<string>Search places API, get address</string>
<key>withspace</key>
<true/>
</dict>
<key>type</key>
<string>alfred.workflow.input.keyword</string>
<key>uid</key>
<string>03DCD9A0-786E-460C-A734-DEB7F0C88D96</string>
<key>version</key>
<integer>1</integer>
</dict>
<dict>
<key>config</key>
<dict>
<key>concurrently</key>
<false/>
<key>escaping</key>
<integer>68</integer>
<key>script</key>
<string>import requests
url = "https://maps.googleapis.com/maps/api/place/textsearch/json"
querystring = {"query": "{query}",
"key": "AIzaSyC0r4UxnX_COKvG10vK_NBjon-4CNKJeCI"}
headers = {
'cache-control': "no-cache",
}
response = requests.request("GET", url, headers=headers, params=querystring)
print response.json()['results'][0]['formatted_address']</string>
<key>scriptargtype</key>
<integer>0</integer>
<key>scriptfile</key>
<string></string>
<key>type</key>
<integer>3</integer>
</dict>
<key>type</key>
<string>alfred.workflow.action.script</string>
<key>uid</key>
<string>74355592-AF60-4FCA-AC56-EBF4476AD5DA</string>
<key>version</key>
<integer>2</integer>
</dict>
<dict>
<key>config</key>
<dict>
<key>autopaste</key>
<false/>
<key>clipboardtext</key>
<string>{query}</string>
<key>transient</key>
<false/>
</dict>
<key>type</key>
<string>alfred.workflow.output.clipboard</string>
<key>uid</key>
<string>CF6B026C-8865-48DB-BFEF-75F77568B379</string>
<key>version</key>
<integer>2</integer>
</dict>
</array>
<key>readme</key>
<string></string>
<key>uidata</key>
<dict>
<key>03DCD9A0-786E-460C-A734-DEB7F0C88D96</key>
<dict>
<key>xpos</key>
<integer>30</integer>
<key>ypos</key>
<integer>30</integer>
</dict>
<key>74355592-AF60-4FCA-AC56-EBF4476AD5DA</key>
<dict>
<key>xpos</key>
<integer>250</integer>
<key>ypos</key>
<integer>30</integer>
</dict>
<key>B51D4FB5-F97E-40E6-A135-6046DED947CD</key>
<dict>
<key>xpos</key>
<integer>570</integer>
<key>ypos</key>
<integer>20</integer>
</dict>
<key>CF6B026C-8865-48DB-BFEF-75F77568B379</key>
<dict>
<key>xpos</key>
<integer>560</integer>
<key>ypos</key>
<integer>150</integer>
</dict>
</dict>
<key>webaddress</key>
<string>invio.us</string>
</dict>
</plist>