rana / GCP.jl

GCP BigQuery APIs in Julia.
MIT License
31 stars 4 forks source link
api-client bigquery google google-api google-cloud google-cloud-platform julia julia-language julia-package julialang

GCP.jl

Google Cloud Platform (GCP) APIs for the Julia programming language.

Currently supports BigQuery.

using GCP
using GCP.Bigquery

CredentialFilename = expanduser("~/secrets/your-project.json")

p = GCP.Project(CredentialFilename, ["cloud-platform"])
dataset = Bigquery.Dataset()
dataset.datasetReference = Bigquery.DatasetReference()
dataset.datasetReference.datasetId = "your-dataset"
res = p.bigquery.datasets.insert(dataset)

@info res

See tests for more example calls.

A 100% Julia implementation. Not reliant on command line installation of Google Cloud SDK or Python 2 (which Google Cloud SDK requires).

Auto-generated from Google API Discovery Service.

More APIs possible on (pull) request.