I am trying to run bigquery through php language. So first of all I am able to run successfully bigquery through authentication (means first its ask to login than query will run). My question is that can I run query in bigquery without authentication? Thanks in advance
Here is a code that
Google_Client
using https://github.com/google/google-api-php-clientYou need to have:
[email protected]
).p12
)code sample:
You can grab the results with:
You can see here the classes that you can use for your other BigQuery calls. When you read the file, please know that file is being generated from other sources, hence it looks strange for PHP, and you need to learn reading it in order to be able to use the methods from it.
https://github.com/google/google-api-php-client/blob/master/src/Google/Service/Bigquery.php
like:
Also check out the questions tagged with [php] and [google-bigquery] https://stackoverflow.com/questions/tagged/google-bigquery+php