Skip to content

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

License

Notifications You must be signed in to change notification settings

eduaparicio/dmapi-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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()

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%