内容へ移動
猫型iPS細胞研究所
ユーザ用ツール
ログイン
サイト用ツール
検索
ツール
文書の表示
以前のリビジョン
バックリンク
最近の変更
メディアマネージャー
サイトマップ
ログイン
>
最近の変更
メディアマネージャー
サイトマップ
現在位置:
INDEX
»
google
»
OAuth 2.0 Playground
トレース:
google:oauth_2.0_playground
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== OAuth 2.0 Playground ====== [[https://developers.google.com/oauthplayground/|OAuth 2.0 Playground]] [[https://qiita.com/howdy39/items/ca719537bba676dce1cf|Googleスプレッドシートをプログラムから操作]] [[https://developers.google.com/sheets/guides/batchupdate?hl=ja|スプレッドシートのアップデート]] ここにシート名変更のサンプルがあった ===== SpreadSheetの操作 ===== {{:google:pasted:20190205-071040.png}} ===== 調べ方 ===== Http MethodをGETにする Request URIに <code> https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}?includeGridData=trueを入力 </code> した値を比較する ===== APIサンプル ===== ==== ブック名の変更 ==== <code> let url2 = "https://sheets.googleapis.com/v4/spreadsheets/" + this.state.spreadsheetId + ":batchUpdate" let bodyString = '{"requests": [{"updateSpreadsheetProperties": {"properties": {"title": "ブック名"},"fields": "title"}}]}' </code> ==== シート名の変更 ==== <code> let url2 = "https://sheets.googleapis.com/v4/spreadsheets/" + this.state.spreadsheetId + ":batchUpdate" let bodyString = `{ "requests": [ { "updateSheetProperties": { "properties": {"sheetId": 0, "title": "問題"}, "fields": "title" } }, ] }` </code>
google/oauth_2.0_playground.txt
· 最終更新: 2019/02/08 00:09 by
ips
ページ用ツール
文書の表示
以前のリビジョン
バックリンク
文書の先頭へ