Giter Site home page Giter Site logo

Get dividends about finary_uapi HOT 5 CLOSED

lasconic avatar lasconic commented on August 31, 2024
Get dividends

from finary_uapi.

Comments (5)

lasconic avatar lasconic commented on August 31, 2024 1

Available in version 0.1.4 on pypi. This version also has sharing links support (but no dividend history there of course...)

from finary_uapi.

lasconic avatar lasconic commented on August 31, 2024 1

There are no dummy questions, right?
As far as I know, there is no public place where all the calls are listed. The only way I can think of to get most of the calls would be to record all the calls on the website (or the app) while visiting every single page. You can do that with web console of your browser. Start it, go to Network tab, filter api.finary.com, and visit as many pages as you can.

Firefox (and chrome?) let you save all the calls in HAR format. Some tools can turn HAR to OpenAPI (see https://github.com/jonluca/har-to-openapi for example), and then OpenAPI spec can be turn into API client code (something like finary_uapi, but here I did the whole work manually...) or docs.
I have another project, currently on hold, where I started to write an OpenAPI spec by hand. I tried Har2OpenAPI but the result was not readable by a human (for example objects were not reused. Meaning all the calls using a "Currency" would define a different currency object without "factorizing")

from finary_uapi.

lasconic avatar lasconic commented on August 31, 2024

Let's start with dividends for all investments. I will add a function in portfolio.py called get_portfolio_investments_dividends

You can test it with finary_uapi investments dividends

from finary_uapi.

lasconic avatar lasconic commented on August 31, 2024

Done see #88

from finary_uapi.

nmathey avatar nmathey commented on August 31, 2024

Gonna try this this week thanks :)
Might be a dummy question but how can we list all available endpoints from Finary API (how can we find them out?)?

from finary_uapi.

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.