Giter Site home page Giter Site logo

Comments (4)

Svisstack avatar Svisstack commented on April 28, 2024

@JamesDream87 We do not insert these commas and can't reproduce this. To move this forward I would need more information related to what SDK was used and code for the reproduction.

from coinapi-sdk.

JamesDream87 avatar JamesDream87 commented on April 28, 2024

https://github.com/JamesDream87/CoinAPI_NodeJs_demo/blob/master/run.js
the function RunInit, line 13.
This is likely to happen when I set the limit to more than 20 or more. Because it is in the experiment, using the free key, I don't know the specific reason, so I dare not pay.
thanks!

from coinapi-sdk.

Svisstack avatar Svisstack commented on April 28, 2024

@JamesDream87 You are creating the response from the chunk's and it looks like your JavaScript library injecting the comma between adjacent chunks. Please remove this behaviour from this code.

      var chunks = [];
      // 获得数据
      response.on("data", function (chunk) {
        // 插入数据到数组
        chunks.push(chunk);
        // 写入json方法
        execute(WriteJson, chunks);
        // 写入数据库
        // WriteSQL(chunks, period);
      });
    });```

from coinapi-sdk.

JamesDream87 avatar JamesDream87 commented on April 28, 2024

thans

from coinapi-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.