Last active
April 27, 2017 13:15
-
-
Save odinuv/e2cf13ae100c146dbccfc650d93aef18 to your computer and use it in GitHub Desktop.
This Generic Extractor (https://developers.keboola.com/extend/generic-extractor/) configuration for Collabim (http://www.collabim.cz/api) enables you to get your projects, associated keywords and their position for the current day (you need to incrementally write data to another table to keep the history, as the extractor will overwrite the data…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"parameters": { | |
"api": { | |
"baseUrl": "https://api.oncollabim.com/", | |
"pagination": { | |
"method": "pagenum" | |
} | |
}, | |
"config": { | |
"debug": true, | |
"http": { | |
"headers": { | |
"Accept": "application/json", | |
"Authorization": { | |
"attr": "#token" | |
} | |
} | |
}, | |
"#token": "YOUR-COLLABIM-TOKEN", | |
"jobs": [{ | |
"endpoint": "projects", | |
"dataType": "projects", | |
"dataField": "data", | |
"children": [{ | |
"endpoint": "keywords?projectId={projectId}", | |
"dataType": "keywords", | |
"dataField": "data", | |
"placeholders": { | |
"projectId": "id" | |
}, | |
"recursionFilter": "active==1" | |
}] | |
}] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment