Dados de Mercado
This is a Python Client for Dados de Mercado's API.
Instalation
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()
Metadata
Release files for dmapi 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dmapi-0.0.1.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dmapi-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.3 kB
Release files / dmapi-0.0.1.tar.gz
| Download URL | dmapi-0.0.1.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c72844d683fbf6f14c746989e02c8c2237c8047546f4ea6abad7f43dc6447b60
|
|
BLAKE2b-256 checksum How to use checksums |
2cd206a0945963c8b2d0111d0f065ba4f8ebd696f698c6d7f997d71f666650b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.9
|
Release files / dmapi-0.0.1-py3-none-any.whl
| Download URL | dmapi-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b62b844b8dfdc27f9e8e71e34df3c7fe2b1fed47c0f4b7756cb510946a0deee3
|
|
BLAKE2b-256 checksum How to use checksums |
0bb239ee252b7f293c86015e132cbca4785715de07e48540c17474c254b47588
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.9
|