Giter Site home page Giter Site logo

vinicius-ianni / dmapi-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sedinei/dmapi-python

0.0 0.0 0.0 2 KB

A Python client for Dados de Mercado, an API for Brazilian financial and economic data.

License: MIT License

Python 100.00%

dmapi-python's Introduction

Dados de Mercado

This is a Python Client for Dados de Mercado's API.

Installation

pip3 install dmapi

Usage

You will need a token to access the API endpoints. Go to the documentation page (in portuguese) to generate one.

Usage example

from dmapi import DMAPI

dm = DMAPI(token='c8cad35b0376c8f6bcb46614f80d9443')  # Set your token here

print(dm.companies())

Available calls

Please refer to the documentation for more details on the parameters available on each call.

  • dm.companies()
  • dm.company(company_slug)
  • dm.financials(company_slug, [type, offset, limit])
  • dm.ratios(company_slug, [type, offset, limit, market])
  • dm.tickers()
  • dm.ticker(ticker, [from_date, to_date])
  • dm.price_indexes([from_date, to_date])
  • dm.selic()

dmapi-python's People

Contributors

rlcalmeida avatar

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.