{"id":22867562,"url":"https://github.com/indatawetrust/bigquery-api","last_synced_at":"2025-07-16T13:14:00.791Z","repository":{"id":90350988,"uuid":"126178177","full_name":"indatawetrust/bigquery-api","owner":"indatawetrust","description":"A quick and easy to use package for Google Cloud BigQuery","archived":false,"fork":false,"pushed_at":"2022-09-18T16:19:41.000Z","size":22,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-05T19:18:47.212Z","etag":null,"topics":["bigdata","bigquery","google-cloud"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/indatawetrust.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}},"created_at":"2018-03-21T12:52:45.000Z","updated_at":"2023-03-08T15:42:04.000Z","dependencies_parsed_at":"2023-10-12T07:14:14.066Z","dependency_job_id":null,"html_url":"https://github.com/indatawetrust/bigquery-api","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":"0.15384615384615385","last_synced_commit":"f435b3c864c8970ae244e1817b45699d8eafcaa4"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indatawetrust%2Fbigquery-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indatawetrust%2Fbigquery-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indatawetrust%2Fbigquery-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indatawetrust%2Fbigquery-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indatawetrust","download_url":"https://codeload.github.com/indatawetrust/bigquery-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252561058,"owners_count":21768063,"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","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":["bigdata","bigquery","google-cloud"],"created_at":"2024-12-13T12:28:02.767Z","updated_at":"2025-05-05T19:18:52.335Z","avatar_url":"https://github.com/indatawetrust.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bigquery-api\nA quick and easy to use package for Google Cloud BigQuery. bigquery-api requires node v7.6.0 or higher for ES2015 and async function support.\n\n#### install\n```\nnpm i --save bigquery-api\n```\n\nYou can check this document to learn how to generate the service account key https://cloud.google.com/iam/docs/creating-managing-service-account-keys\n\n#### usage\n```js\nconst bigqueryapi = require('bigquery-api')\n\nbigqueryapi({\n  projectId: process.env.projectId,\n  keyFilename: process.env.keyFilename,\n  datasetId: \"myproject\",\n  tables: [{\n    name: 'user',\n    options: {\n      schema: 'name:string, date:datetime'\n    }\n  },{\n    name: 'post',\n    options: {\n      schema: 'text:string, date:datetime'\n    }\n  }]\n})\n.then(async ({ bigquery, table }) =\u003e {\n\n  // insert\n  await table.user.insert({ name: \"ahmet şimşek\", date: \"2018-04-01T12:34:56\" })\n\n  await table.post.insert({ text: \"lorem ipsum\", date: \"2018-04-01T12:34:52\" })\n\n  // query\n  await bigquery.query({ query: 'SELECT * FROM myproject.user' })\n\n})\n```\n\nFor more information https://cloud.google.com/nodejs/docs/reference/bigquery/latest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findatawetrust%2Fbigquery-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findatawetrust%2Fbigquery-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findatawetrust%2Fbigquery-api/lists"}