EDINET API Client for Python.
Project description
edinet-python
EDINET API Client for Python.
How to use
Document list API
Get document list of specific day.
Only metadata (number of documents).
import edinet
metadata = edinet.api.metadata.get("2019-01-31")
print(f"Number of documents is {metadata.count}")
Get document list.
import edinet
documents = edinet.api.documents.get("2019-01-31")
print(f"Number of documents is {len(documents.list)}")
print(f"Title of first document is {documents.list[0].title}")
Document API
Get document file of specific document id.
from pathlib import Path
import edinet
xbrl_path = edinet.api.document.get_xbrl("S100FGR9", save_dir=Path.cwd())
pdf_path = edinet.api.document.get_pdf("S100FGR9", save_dir=Path.cwd())
Install
pip install edinet-python
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
edinet-python-0.1.6.tar.gz
(7.9 kB
view details)
File details
Details for the file edinet-python-0.1.6.tar.gz.
File metadata
- Download URL: edinet-python-0.1.6.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb7b6ccce89eecc2d41ff01db416bf2fb5e74d9d96a7224bb8a2645370cab6b5
|
|
| MD5 |
bfa4d8f456503d7da06ebeeb12acdfcb
|
|
| BLAKE2b-256 |
463e634d10c2fa33c885b2662ee5c26a4f208e420feb6177241a61a574907ca5
|