Collabim Configuration

by martin.matejka@keboola.com

This configuration template for Collabim enables you to get your projects, associated keywords and their position for current day (you need to incrementaly write data to another table(s) to keep the history, as extractor will overwrite data after every run). If you're already using Collabim and want to get historical data, you can rewrite the configuration. But from my experience, that's a looot of data and probably asking people from Collabim for some CSVs with the data is much easier (they're really helpful).

{
  "parameters": {
    "api": {
      "baseUrl": "https://api.oncollabim.com/",
      "pagination.method": "pagenum"
    },
    "config": {
      "id": "collabim",
      "http": {
        "headers": {
          "Accept": "application/json",
          "Authorization": "YOUR-COLLABIM-TOKEN"
        }
      },
      "jobs": [
        {
          "endpoint": "projects",
          "dataType": "projects",
          "dataField": "data",
          "children": [
            {
              "endpoint": "keywords?projectId={id}",
              "dataType": "keywords",
              "dataField": "data",
              "placeholders": {
                "id": "id"
              },
              "recursionFilter": "active==1"
            }
          ]
        }
      ]
    }
  }
}
Comments