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.10.tar.gz
(7.9 kB
view hashes)