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.13.tar.gz
(8.1 kB
view details)
File details
Details for the file edinet-python-0.1.13.tar.gz.
File metadata
- Download URL: edinet-python-0.1.13.tar.gz
- Upload date:
- Size: 8.1 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 |
f822be6785818f8dba85ed783ba5ffe365edecc20cc251041031478a10c187ed
|
|
| MD5 |
be4b4743645b67ddeeb1504409e12aed
|
|
| BLAKE2b-256 |
eeeba05e83f77cf617b897e968ccf01fc484055942585d74b324d0a752236498
|