This article shows the recommended way to authenticate to a Cloud API.
This page provides a short exercise in building a simple command-line application (in C#, Go, Java, Node.js, PHP, Python, or Ruby) with the Google BigQuery API. This simple application will run a query on one of the available Sample Datasets and display the result.
This page shows how to get started with the new Cloud Client Libraries for the Google BigQuery API. Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in Client Libraries Explained.
API Google Cloud BigQuery allows you to create, manage, share and query data.
BigQuery And PHP QuickStart Sample