Tag: shopify

Excel VBA API GET请求

我已经在VBA中做了一个GET请求,并且能够将返回数据的第一次迭代parsing到Excel表格中。 但是它不会开始第二次迭代。 更多信息:我正在使用Shopify API获取所有订单。 在邮差,我可以看到不同的订单(600 +)总共多个logging。 我可以从第一个返回的订单parsing所需的所有信息,但是我无法循环到第二个。 我在这里使用VBA-JSON库: https : //github.com/VBA-tools/VBA-JSON 我已经发布了我的代码在下面… 我可以看到x是订单总数,但增量V并不能帮助我获得二阶信息。 Sub ShopifyOrderAPI_GET() Dim http As Object, str As Variant Set http = CreateObject("MSXML2.XMLHTTP") With http .Open "GET", "https://SHOPNAME.myshopify.com/admin/orders.json?status=any", False .Send str = Split(.responseText, "{""orders"": [ {") End With x = UBound(str) Dim JSON As Object Set JSON = JsonConverter.ParseJson(http.responseText) On Error Resume […]