A Python client for Dados de Mercado
Project description
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dmapi-0.0.1.tar.gz
(2.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
dmapi-0.0.1-py3-none-any.whl
(3.2 kB
view details)
File details
Details for the file dmapi-0.0.1.tar.gz.
File metadata
- Download URL: dmapi-0.0.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c72844d683fbf6f14c746989e02c8c2237c8047546f4ea6abad7f43dc6447b60
|
|
| MD5 |
69e549e1c25d024ed4c97f8c9fb3076e
|
|
| BLAKE2b-256 |
2cd206a0945963c8b2d0111d0f065ba4f8ebd696f698c6d7f997d71f666650b5
|
File details
Details for the file dmapi-0.0.1-py3-none-any.whl.
File metadata
- Download URL: dmapi-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b62b844b8dfdc27f9e8e71e34df3c7fe2b1fed47c0f4b7756cb510946a0deee3
|
|
| MD5 |
46287667750a9c2d910b208dbd5557a3
|
|
| BLAKE2b-256 |
0bb239ee252b7f293c86015e132cbca4785715de07e48540c17474c254b47588
|