Google

Google Cloud Print を Web API で操作 - Unirest 使用

リフレッシュトークンを使って Google Cloud Print を Web API で操作してみます。 Google Cloud Print 以前、「Google アカウントで Google API を利用 - google-api-services-gmail」 では Apache HTTPClient を使いましたが、今回は Unirest を使っていま…

Google スプレッドシートを REST API で操作

Google スプレッドシートを REST API で操作します。 API の利用には 前回 と同様にリフレッシュトークンを使います。 はじめに Google スプレッドシートの API を使うには、Google アカウントで API の利用を承認する際に scope で https://spreadsheets.go…

Google アカウントで Google API を利用 - google-api-services-gmail

前回はサービスアカウントを使う方法を試しましたが、今回は Google アカウントを使って Google API を利用してみます。 ソースは http://github.com/fits/try_samples/tree/master/blog/20150621/ はじめに API 利用までの手順は次の通りです。 (1) クライ…

Google API 用のアクセストークンをサービスアカウントで取得 - Google API Client Library for Java

Google の各種 API を使うためのアクセストークンをサービスアカウントを使って取得してみました。 ライブラリは Google API Client Library for Java を使います。 Google API Client Library for Java 1.20.0 ソースは http://github.com/fits/try_samples…