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.9.tar.gz
(7.9 kB
view details)
File details
Details for the file edinet-python-0.1.9.tar.gz.
File metadata
- Download URL: edinet-python-0.1.9.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 |
9da8e2fddceb5b733d58416c1de1fb602497220858c55f8d966b892baa7870c2
|
|
| MD5 |
44827840dabd2f91df06340b2090e847
|
|
| BLAKE2b-256 |
125b56db45a40b3e19905bb1caa7262773f4ea3dfe61bbf1dc7878be9851c87f
|