-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtwitter.json
99 lines (99 loc) · 2.59 KB
/
twitter.json
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
{
"name": "Twitter",
"url": "https://api.twitter.com/1.1/search/tweets.json",
"method": "GET",
"api_type": "text",
"response_main_item": "text",
"path_to_results": [
"statuses"
],
"request": [
{
"type": "string",
"required": true,
"position": "body",
"relevant": false,
"api_name": "q",
"name": "query",
"description": "Search query"
},
{
"type": "string",
"required": false,
"default_value": "en",
"position": "body",
"relevant": true,
"api_name": "lang",
"name": "language_iso"
},
{
"type": "string",
"values": [
"mixed",
"recent",
"popular"
],
"required": false,
"default_value": "recent",
"position": "body",
"relevant": false,
"api_name": "result_type",
"description": "Type of tweets to retrieve"
},
{
"type": "int",
"required": false,
"default_value": "15",
"position": "body",
"relevant": false,
"api_name": "count",
"name": "_page_count",
"description": "Number of elements per query page"
},
{
"type": "string",
"required": true,
"position": "header",
"relevant": false,
"api_name": "Authorization",
"description": "API token"
}
],
"response": [
{
"type": "int64",
"api_name": "id",
"name": "_api_id",
"relevant": true,
"description": "ID of the tweet"
},
{
"type": "datetime",
"date_format": "%a %B %d %H:%M:%S +0000 %Y",
"name": "date",
"api_name": "created_at",
"relevant": true
},
{
"type": "string",
"name": "text",
"api_name": "text",
"relevant": true,
"description": "Tweet content"
},
{
"type": "int",
"name": "retweet",
"api_name": "retweet_count",
"relevant": true,
"description": "Retweets count"
},
{
"type": "int",
"name": "favorite",
"api_name": "favorite_count",
"relevant": true,
"description": "Favorite count"
}
]
}