お名前.com上のサーバから、google bigqueryにデータを投入したいと思っています。
http://itnote-ichi5.com/post-php-bigquery/
を参考にして、
BigQuery Client Libraries の Google API Client Library for PHP (beta)をダウンロードし、src/Googleフォルダをサーバ上に置き、p12ファイルもサーバ上に置き、bigquery.phpも参考URLと同様に作成し、自分のprojectIDなどを変更して、やってみましたが、
Fatal error: Uncaught exception 'Exception' with message 'This library must be installed via composer or by downloading the full package. See the instructions at https://github.com/google/google-api-php-client#installation.' in
といったエラーが出てしまい、
https://github.com/google/google-api-php-client#installation を参照したところ、
composer require google/apiclient:^2.0.0@RC を実行する、
とのことでした。
お名前のphpを使用しているので、上記コマンドができるのかわかりませんので、この件は、お名前には問い合わせ中です。
何が聞きたいかと言いますと、phpからgoogle bigqueryを操作したことのある方がどのような方法(環境?)でやって成功したかを教えていただきたいと思いまして、質問しました。
どうぞ宜しくお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。