A Python library to get a company information from dataforthai.com (For my eductaional purpose)
Project description
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
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
th_company_info-0.0.1.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file th_company_info-0.0.1.tar.gz.
File metadata
- Download URL: th_company_info-0.0.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bb6660dc8d7392e46583557940bbdae1d7f2701e3c77a608d97a3d5ad421ca7
|
|
| MD5 |
f0b1c5919235645b82c1a3c6196b4dd0
|
|
| BLAKE2b-256 |
a218d9caf916efe23d6471e4a6e6b05f6b69fd58d3d8aed8ff68b9c3fec161ae
|
File details
Details for the file th_company_info-0.0.1-py3-none-any.whl.
File metadata
- Download URL: th_company_info-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
666b999129ad151249717665d57d5fb32ff2c07bdcfec93f28ad8b5d67e7f18b
|
|
| MD5 |
405761300b7cbb1d5073f460a6d973ff
|
|
| BLAKE2b-256 |
5a1c14ad39a7ecd34f3bad33768a4e5c3d849dedd6e80e308ffa94141889849f
|