th-company-info
This is a educational library for getting data of company info from page dataforthai.com and return as a json respone.
Installation
pip install th-company-info
Usage
from th_company_info.scraper import th_company_info
try:
tax_id = "0107542000011" # Replace with a valid 13-digit tax ID
data = th_company_info(tax_id)
print(data)
except Exception as e:
print(f"An error occurred: {e}")
Response
{
"tax_id": "0107542000011",
"name_th": "บริษัท ซีพี ออลล์ จำกัด (มหาชน)",
"name_en": "CP ALL PUBLIC COMPANY LIMITED",
"description": "ดำเนินกิจการร้านค้าสะดวกซื้อ เพื่อจำหน่ายสินค้าอุปโภค-บริโภคหมวดธุรกิจ : ร้านสะดวกซื้อ/มินิมาร์ท",
"status": "ยังดำเนินกิจการอยู่",
"registered_date": "12 มีนาคม 2542",
"registered_capital": "8,986,296,048 บาท",
"address": "313 อาคารซี.พี.ทาวเวอร์ ชั้นที่ 24 ถนนสีลม แขวงสีลม เขตบางรัก กรุงเทพมหานคร 10500",
"website": "www.cpall.co.th",
"stock_symbol": "CPALL"
}
Author
Grassroot Engineer
Release files for th-company-info 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| th_company_info-0.0.1.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| th_company_info-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / th_company_info-0.0.1.tar.gz
| Download URL | th_company_info-0.0.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6bb6660dc8d7392e46583557940bbdae1d7f2701e3c77a608d97a3d5ad421ca7
|
|
BLAKE2b-256 checksum How to use checksums |
a218d9caf916efe23d6471e4a6e6b05f6b69fd58d3d8aed8ff68b9c3fec161ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.0
|
Release files / th_company_info-0.0.1-py3-none-any.whl
| Download URL | th_company_info-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
666b999129ad151249717665d57d5fb32ff2c07bdcfec93f28ad8b5d67e7f18b
|
|
BLAKE2b-256 checksum How to use checksums |
5a1c14ad39a7ecd34f3bad33768a4e5c3d849dedd6e80e308ffa94141889849f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.0
|