-
Notifications
You must be signed in to change notification settings - Fork 16
/
voxscript.awt.icu.yaml
350 lines (350 loc) · 10.9 KB
/
voxscript.awt.icu.yaml
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
openapi: 3.0.1
info:
title: VoxScript
version: '1.0'
paths:
/GetGoogleSearchResults:
post:
tags:
- DuckDuckGoSearch
summary: Provides real-time web search results from DuckDuckGo. Do not use for YouTube.com searching or anything that sounds like it could be a video or media search!
operationId: GetGoogleSearchResults
parameters:
- name: searchTerm
in: query
style: form
schema:
type: string
- name: numResults
in: query
description: 'Results to return, maximum 25'
style: form
schema:
type: integer
format: int32
default: 12
responses:
'200':
description: Success
/GetDuckDuckGoSearchResults:
post:
tags:
- DuckDuckGoSearch
summary: Provides real-time web search results from DuckDuckGo. Do not use for YouTube.com searching or anything that sounds like it could be a video or media search!
operationId: GetDuckDuckGoSearchResults
parameters:
- name: searchTerm
in: query
style: form
schema:
type: string
- name: numResults
in: query
description: 'Results to return, maximum 25'
style: form
schema:
type: integer
format: int32
default: 12
responses:
'200':
description: Success
/GetCurrentTime:
get:
tags:
- GetCurrentTime
summary: Gets the current local of the user and UTC time.
operationId: GetCurrentTime
responses:
'200':
description: Success
content:
text/plain:
schema:
$ref: '#/components/schemas/TimeAndTimeZone'
application/json:
schema:
$ref: '#/components/schemas/TimeAndTimeZone'
text/json:
schema:
$ref: '#/components/schemas/TimeAndTimeZone'
/GetFeedback:
post:
tags:
- GetFeedback
summary: Posts user feedback about VoxScript.
description: Takes user feedback for the developers of the VoxScript plugin. Instruct the user if they are unhappy with anything to let us know!
operationId: GetFeedback
parameters:
- name: feedback
in: query
description: 'The user feedback, URL encoded'
style: form
schema:
type: string
responses:
'200':
description: Returns if the feedback was saved successfully
'500':
description: If there was an internal server error
/GetChunkedPastebinContentFromURL:
post:
tags:
- GetTextFromURL
summary: 'Gets full text text from only Patebin, Github Gists, Github or REntry.co. Grab the entire file and summarize it for the user by default. Do not use for web browsing or media searches.'
operationId: GetChunkedPastebinContentFromURL
parameters:
- name: url
in: query
description: 'URL containing the textual transcript on Pastebin, Github, Gists, or REntry.co'
style: form
schema:
type: string
- name: chunkNum
in: query
description: 'First chunk is 0. Chunk number to get, if blank assuming the first chunk.'
style: form
schema:
type: integer
format: int32
default: 0
responses:
'200':
description: Success
/GetTickerNews:
post:
tags:
- GetTickerNews
summary: Provides news about a ticker crypto or equity beyond the knowledge cutoff date. Can be used with Cryto or Equities.
operationId: GetNewsForTicker
parameters:
- name: ticker
in: query
description: This is the crypto or equity symbol to provide news about a particular ticker symbol. This can be useful in determining if the stock is a buy or sell based on if the news is positive or negative.
style: form
schema:
type: string
responses:
'200':
description: Success
/GetUSEquityFinancials:
post:
tags:
- GetUSEquityFinancials
summary: Provides news about a ticker symbol beyond the knowledge cutoff date. For use with US Equities only.
operationId: GetUSEquityFinancials
parameters:
- name: ticker
in: query
style: form
schema:
type: string
responses:
'200':
description: Success
/GetUSEquityOrCryptoHistoricalPrices/GetUSEquityOrCryptoHistoricalPrices:
post:
tags:
- GetUSEquityOrCryptoHistoricalPrices
summary: 'Provided a US equites symbol or cryptocurrency denoted USDT, a start date, and end date provides historical pricing data beyond the knowledge cutoff date. Only supports day for crypto.'
operationId: GetUSEquityOrCryptoHistoricalPrices
parameters:
- name: ticker
in: query
description: A cryptocurrency or US equity ticker to look up
style: form
schema:
type: string
- name: startDate
in: query
description: This is a date in YYYY-MM-DDD format bars request starts at.
style: form
schema:
type: string
default: ''
- name: endDate
in: query
description: This is date in YYYY-MM-DDD format which bars request ends at.
style: form
schema:
type: string
default: ''
- name: timespan
in: query
description: 'Day, Hour, Minute, Week, Quarter, Year'
style: form
schema:
type: string
default: Day
responses:
'200':
description: Success
/GetUSEquityOrCryptoPricesOnSingleDate/GetQuoteDayCryptoEquities:
post:
tags:
- GetUSEquityOrCryptoPricesOnSingleDate
summary: 'Provided comma separated list of US equity symbols and an optional date, gets daily high, low, open, close bars for a particular stock beyond the knowledge cutoff date.'
operationId: GetQuoteDayCryptoEquities
parameters:
- name: tickers
in: query
description: A common delineated list of US equity or cryptocurrency tickers to get daily data for
style: form
schema:
type: string
- name: date
in: query
description: Optional date in YYYY-MM-DDD format to retrieve for the ticker symbol provided.
style: form
schema:
type: string
responses:
'200':
description: Success
/GetWebsiteContent:
post:
tags:
- GetWebsiteContentService
summary: Provides real time website content past September 2021 past the knowledge cutoff date. Do not use for YouTube or Pastebin/text requests .
operationId: GetWebsiteContent
parameters:
- name: websiteURL
in: query
description: URL of the website to retrieve
style: form
schema:
type: string
- name: chunkNum
in: query
style: form
schema:
type: integer
format: int32
- name: getLinks
in: query
style: form
schema:
type: boolean
default: false
responses:
'200':
description: Success
/GetYoutubeVideoData:
post:
tags:
- GetYoutubeVideoData
summary: 'Gets info on a YouTube video by channel URL, channel ID, Video ID, Video URL.'
description: 'Can be called with a A channel URL, channel ID, Video ID, Video URL.'
operationId: GetYoutubeVideoData
parameters:
- name: input
in: query
description: 'Channel URL, channel ID, Video ID, Video URL'
style: form
schema:
type: string
responses:
'200':
description: Success
/GetYoutubeVideoData/GetNextYoutubeTranscriptChunk:
post:
tags:
- GetYoutubeVideoData
summary: 'Chunk numbers start at 0. If the video has more then 5 chunks, confirm if the user wants to wait that long to retrieve them.'
description: Request as few chunks as needed to answer the question.
operationId: GetNextYoutubeTranscriptChunk
parameters:
- name: nextTranscriptToken
in: query
description: 'The next transcript chunk from GetYoutubeVideoData, chunk id starts at 0'
style: form
schema:
type: string
responses:
'200':
description: Success
/GetYoutubeVideoData/SearchYouTubeVideos:
post:
tags:
- GetYoutubeVideoData
operationId: SearchYouTubeVideos
parameters:
- name: searchterm
in: query
style: form
schema:
type: string
- name: maxResults
in: query
style: form
schema:
type: integer
format: int32
default: 5
responses:
'200':
description: Success
/Help/ContactUs:
post:
tags:
- Help
summary: Gives the user information about how to use this plugin.
description: Show this to the user if they are having trouble or need some ideas on how to use Voxscript. Help file. Optional question to help search.
operationId: ContactUs
parameters:
- name: question
in: query
style: form
schema:
type: string
responses:
'200':
description: Success
/Help/HowDoIUseThis:
post:
tags:
- Help
summary: Gives the user information about how to use this plugin.
description: Show this to the user if they are having trouble or need some ideas on how to use Voxscript. Help file. Optional question to help search.
operationId: HowDoIUseThis
parameters:
- name: question
in: query
style: form
schema:
type: string
responses:
'200':
description: Success
/Help/Help:
post:
tags:
- Help
summary: Gives the user information about how to use this plugin.
description: Show this to the user if they are having trouble or need some ideas on how to use Voxscript. Help file. Optional question to help search.
operationId: Help
parameters:
- name: question
in: query
style: form
schema:
type: string
responses:
'200':
description: Success
components:
schemas:
TimeAndTimeZone:
type: object
properties:
currentTime:
type: string
format: date-time
currentTimeUTC:
type: string
format: date-time
timezone:
type: string
nullable: true
readOnly: true
additionalProperties: false