Giter VIP home page Giter VIP logo

Comments (3)

yortug avatar yortug commented on August 26, 2024

😮

What a good find!!

Any ideas on how we'd go about adding all of these CSVs into this repo?

A simple way could be to pull those CSVs into this repo (somehow), then write a simple JS script that reads in all of these CSVs, converts them to JSON, and then outputs the JSON into some file that the mapping.js file can export?

The part I'm unsure about is how we pull in those CSVs from the other repo? And, preferably we'd want to do this in a way where we could update the CSVs potentially (if we want to add any more data), but also we'd want to always be using the most up-to-date version of these CSVs within the investpy repo too?

Any ideas on how to get that done? If I get some guidance, I can probably work on implementing this enhancement. 👍🏻

from investing-com-api.

DavideViolante avatar DavideViolante commented on August 26, 2024

The CSV are from ~2-3 years ago so I think they don't change so much during time. I was thinking not to use CSV format but download and convert these files into JSON and add all the info in mapping.js.

from investing-com-api.

DavideViolante avatar DavideViolante commented on August 26, 2024

Update: since v4.3.0 the library accept a pairId as input, even if the pairId is not present in mapping.js. This allows to use ANY valid pairId from Investing.com website.

from investing-com-api.

Related Issues (18)

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.