Importjson排除参数电子表格 [英] Importjson exclude parameters spreadsheet

查看:84
本文介绍了Importjson排除参数电子表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用importjson仅显示结果参数?

How I can use importjson show only result parameter?

示例:

=IMPORTJSON("https://api.coinmarketcap.com/v1/ticker/bitcoin", "/name")


"Name"  
"Bitcoin"  

我只需要显示:

"Bitcoin"

我的想法是使用我的博客显示最新报价 https://1bitcoinhoje.com

my idea is to use my blog to display the latest quotations https://1bitcoinhoje.com

推荐答案

只需解析您的rawHeaders:

=ImportJSON("https://api.coinmarketcap.com/v1/ticker/bitcoin","/name","noHeaders")

ImportJSON具有rawHeaders的解析选项:

ImportJSON has parse-Options for rawHeaders :

  • noHeaders:不包括标题,仅包括数据
  • debugLocation:在每个值前加上&行所属的列.
  • noInherit:不要从父元素继承值
  • noTruncate:不要截断值
  • rawHeaders:不要美化标题
  • noHeaders : don’t include headers, only the data
  • debugLocation : prepend each value with the row & column it belongs in.
  • noInherit : don’t inherit values from parent elements
  • noTruncate: don’t truncate values
  • rawHeaders: don’t prettify headers

这篇关于Importjson排除参数电子表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆