{"id":31974682,"url":"https://github.com/splitio/tap-tinybird","last_synced_at":"2025-10-14T20:20:23.201Z","repository":{"id":221602011,"uuid":"750701810","full_name":"splitio/tap-tinybird","owner":"splitio","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-06T23:06:20.000Z","size":45,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-07T00:19:58.979Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/splitio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-31T06:27:40.000Z","updated_at":"2025-03-06T23:06:23.000Z","dependencies_parsed_at":"2024-02-18T02:30:35.723Z","dependency_job_id":"489ec053-8b3c-41de-9505-e58602a2c4bf","html_url":"https://github.com/splitio/tap-tinybird","commit_stats":null,"previous_names":["splitio/tap-tinybird"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/splitio/tap-tinybird","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splitio%2Ftap-tinybird","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splitio%2Ftap-tinybird/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splitio%2Ftap-tinybird/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splitio%2Ftap-tinybird/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/splitio","download_url":"https://codeload.github.com/splitio/tap-tinybird/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splitio%2Ftap-tinybird/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279021032,"owners_count":26086947,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-14T20:20:14.435Z","updated_at":"2025-10-14T20:20:23.192Z","avatar_url":"https://github.com/splitio.png","language":"Python","readme":"# tap-tinybird\n\nThis is a [Singer](https://singer.io) tap that produces JSON-formatted data\nfollowing the [Singer\nspec](https://github.com/singer-io/getting-started/blob/master/SPEC.md).\n\nThis tap:\n\n- Pulls raw data from [Tinybird](http://tinybird.co)\n- Extracts the aggregated data based on a query \n- Outputs the schema for each table\n- Incrementally pulls data based on the input state \n\n## Config\n\n*config.json*\n```json\n {\n    \"tinybird_access_token\": \"ACCESS_TOKEN\",\n    \"tinybird_api_url\": \"https://api.tinybird.co\",\n    \"start_date\": \"2024-01-01T00:00:00\",\n    // \"end_date\": \"2024-02-07T00:00:00\", // optional: by default the end_date is now (or the end of the last closest bucket)\n    \"tables\": [{\n        \"table_name\": \"my_table\",  // table name in the destination\n        \"params\": \"orgId=aaaaaaaa-bbbb-cccc-dddd-eeeeffffgggg\", // parameters to be added on the URL to query for the data\n        // it is important to put  \"{time_query}\" in the query if you want the query to be incremental\n        // this will be automatically replace with the proper condition on time_property\n        \"query\": \"SELECT day, orgId, sdk, sdkVersion, count() as count FROM my_materialized_view_v1 WHERE {time_query} GROUP BY day, orgId, sdk, sdkVersion\",\n        \"keys\": [\"date\". \"orgId\", \"environmentId\", \"sdk\", \"sdkVersion\"],\n        \"time_property\": \"date\",\n        // When time_bucket to none, it loads data incrementally using the time_property so make sure to order the results\n        // When time_bucket is set to none, it also extract data by chunk of 100,000 and continue extracting data iteratively \n        // When time_bucket is set to day or hour, it limits results at 100,000 but don't iterate, so make sure your queries don't go over the limit.\n        \"time_bucket\": \"day\",  // support value of 'day', 'hour' or 'none'. By default assumes 'none'. \n        \"max_lookback_days\": 3 // indicate how far behind the end date it can go\n    }]\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplitio%2Ftap-tinybird","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsplitio%2Ftap-tinybird","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplitio%2Ftap-tinybird/lists"}