-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathsearch.json
More file actions
55 lines (55 loc) · 1.38 KB
/
search.json
File metadata and controls
55 lines (55 loc) · 1.38 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
{
"version": 1,
"request": {
"url": "https://api.currentsapi.services/v1/search",
"method": "GET",
"authorization": {
"type": "QueryParam",
"keyParam": "apiKey"
},
"params": {
"language": false,
"keywords": false,
"country": false,
"category": false,
"start_date": false,
"end_date": false
}
},
"examples": {
"keywords": "'covid19'",
"start_date": "'2020-10-10'",
"end_date": "'2021-01-01'"
},
"response": {
"ctype": "application/json",
"tablePath": "$.news[*]",
"schema": {
"title": {
"target": "$.title",
"type": "string"
},
"category": {
"target": "$.category",
"type": "list"
},
"description": {
"target": "$.description",
"type": "string"
},
"url": {
"target": "$.url",
"type": "string"
},
"author": {
"target": "$.author",
"type": "string"
},
"published": {
"target": "$.published",
"type": "string"
}
},
"orient": "records"
}
}