Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 915 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 915 Bytes

BigQuery

An Elixir client for the Google BigQuery API.

Installation

If available in Hex, the package can be installed as:

  1. Add big_query to your list of dependencies in mix.exs:

    def deps do [{:big_query, "~> 0.0.1"}] end

  2. Ensure big_query is started before your application:

    def application do [applications: [:big_query]] end

  3. Configure the location of your BigQuery private key .json file:

    config :big_query, bigquery_private_key_path: "path/to/private_key.json"

  4. If you need ask for special scopes - configure them:

    config :big_query, bigquery_scope: "https://www.googleapis.com/auth/drive"

  5. If you have long running requests - you can override the timeout of the http calls (in MS):

    config :big_query, bigquery_request_timeout: 60000