Skip to content

Instantly share code, notes, and snippets.

@badmetacoder
Last active December 5, 2016 20:15
Show Gist options
  • Save badmetacoder/4162369 to your computer and use it in GitHub Desktop.
Save badmetacoder/4162369 to your computer and use it in GitHub Desktop.
connector-google-bigquery
curl -X POST 'https://api.datasift.com/v1/push/create' \
-d 'name=connectorgooglebigquery' \
-d 'hash=42d388f8b1db497faaf7dab487f11290' \
-d 'output_type=bigquery' \
-d 'output_params.project_id=000000000000' \
-d 'output_params.dataset_id=interactions' \
-d 'output_params.table_id=pushedinteractions' \
-d 'output_params.auth.client_id=000000000000.apps.googleusercontent.com' \
-d 'output_params.auth.service_account=000000000000@developer.gserviceaccount.com' \
-d "output_params.auth.key_file=`python ./p12tobigquery.py -f 3a46aede3a0a2d375b7bdb72743e7da7605fef5c-privatekey.p12`"
-H 'Authorization: datasift-user:your-datasift-api-key'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment