Google sheet api valueRenderOption doesn't work properly

オープン
#3,384 コメント 0 件 リアクション 2 件 担当者 1 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

@sofisl がすでに取り組んでいます。

2023年11月17日 から。

評価

この issue はまだ評価されていません。

説明

priority: p2 type: bug
  1. Is this a client library issue or a product issue?
  • It looks like the library issue as it works fine with product direct API
  1. Did someone already solve this?
  • No
  1. Do you have a support contract?
  • No
Environment details
  • OS: Mac
  • Node.js version: v18.16.0
  • npm version: 9.5.1
  • googleapis version: 128.0.0
Steps to reproduce
  1. I tried to fetch spreadsheet values using the below method. but it returns numeric values as it is, when I use the google API Explorer, it returns all the values as strings. I want to get all the values as strings in this case.
  sheetsApi.spreadsheets.values.get({
  		spreadsheetId,
  		range,
  		valueRenderOption: 'FORMATTED_VALUE',
  	})

https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/get

主要言語
TypeScript
スター
12.3k
フォーク
2k
平均マージ
3日 10時間
マージ済み PR(30日)
9

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

googleapis/google-api-nodejs-client のほかの issue

googleapis/google-api-nodejs-client の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。