Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for issue #544 / Feature(Connector): New configs for twitter API #140

Open
wants to merge 13 commits into
base: develop
Choose a base branch
from
2 changes: 2 additions & 0 deletions api-connectors/ticketmaster/_meta.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"tables": [
"weather",
"historical_weather",
"events"
]
}
6 changes: 4 additions & 2 deletions api-connectors/times/_meta.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"tables": [
"article"
"article",
"tag",
"section"
]
}
}
4 changes: 3 additions & 1 deletion api-connectors/twitter/_meta.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"tables": [
"tweets"
"tweets",
"followers",
"friends"
]
}
39 changes: 39 additions & 0 deletions api-connectors/twitter/followers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"version": 1,
"request": {
"url": "https://api.twitter.com/1.1/followers/ids.json",
"method": "GET",
"authorization": {
"type": "OAuth2",
"grantType": "ClientCredentials",
"tokenServerUrl": "https://api.twitter.com/oauth2/token"
},
"params": {
"user_id": false,
"count": false,
"screen_name": false,
"stringify_ids":false
},
"pagination": {
"type": "offset",
"offsetKey": "offset",
"limitKey": "count",
"maxCount": 5000
}
},
"examples": {
"user_id": "'12345'",
"count": "'noradio'"
},
"response": {
"ctype": "application/json",
"tablePath": "$.ids[*]",
"schema": {
"ids": {
"target": "$",
"type": "int"
}
},
"orient": "records"
}
}
39 changes: 39 additions & 0 deletions api-connectors/twitter/friends.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"version": 1,
"request": {
"url": "https://api.twitter.com/1.1/friends/ids.json",
"method": "GET",
"authorization": {
"type": "OAuth2",
"grantType": "ClientCredentials",
"tokenServerUrl": "https://api.twitter.com/oauth2/token"
},
"params": {
"user_id": false,
"count": false,
"screen_name": false,
"stringify_ids":false
},
"pagination": {
"type": "offset",
"offsetKey": "offset",
"limitKey": "count",
"maxCount": 5000
}
},
"examples": {
"user_id": "'12345'",
"count": "'noradio'"
},
"response": {
"ctype": "application/json",
"tablePath": "$.ids[*]",
"schema": {
"ids": {
"target": "$",
"type": "int"
}
},
"orient": "records"
}
}