- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试将我的交易历史记录从币安(使用签名端点安全性)提取到谷歌表格中,以便我可以使用谷歌脚本保存所有交易的记录。我陷入无法使用 api key 提取数据的困境。以下片段是我根据我对 Binance API 和 UrlFetchApp API 的理解所能得到的。
var data = UrlFetchApp.fetch("https://api.binance.com/api/v3/myTrades", {headers : apiKey})
我还发现了this post .
最佳答案
您无法在网址栏中添加 header 。
编辑我看到您正在使用 UrlFetchApp。在这种情况下,正确的语法是
var headers = {'X-MBX-APIKEY': apiKey}
UrlFetchApp.fetch("https://api.binance.com/api/v3/myTrades", {'headers': headers})
关于javascript - 带有 Google 脚本的币安 API,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48178861/
我在 Ember 部分模板的链接上有一个 fadeTo 动画;该动画在鼠标单击链接时激活,其完成方式如下: jQuery('#object').fadeTo(1000, 1); 所以需要1秒才能完成;
我使用的是 debian 7 x64,我想在启动时添加一个自动启动服务,但它不起作用。 命令:“update-rc.d defaults”运行良好并返回给我:update-rc.d:使用基于依赖的启动
我安装了 Debian jessie。 内核版本: Linux srv1 3.16-3-amd64 #1 SMP Debian 3.16.5-1 (2014-10-10) x86_64 GNU/Lin
我在我的服务器 (debian 7.5) 上使用 docker 和 docker compose。 我有 1 个 mysql 容器和 1 个 postgresql 容器用于 2 个应用程序。 当我想为
大家好,我有一个小问题。 让我解释一下我有 3 个目录和 3 个不同的启动脚本。 user/dir1/launch1.sh user/dir2/launch2.sh user/dir3/launc
我需要安装一些包来为在 VB 中运行的 Debian 9 操作系统中的项目准备工作区。我有指令: ---------------------------------------------------
前段时间,我有一台运行 Debian 的新单板计算机,它最终将成为学校项目的“核心”。 现在,我正在使用有线网络和 ssh 访问板载发行版。只要这个东西在我的桌面上就没问题,但当它被内置到机器人的目标
我正在运行 Debian 6.0.7 Squeeze 并安装了 Plymouth 以获得启动画面以掩盖启动时出现的系统调用。我还安装了一个 nVidia 显卡,我已经为其安装了驱动程序并遵循了来自 h
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 这个问题似乎不是关于 a specific programming problem, a softwar
我是一名优秀的程序员,十分优秀!