Parameter name | Type | Required | Description |
---|---|---|---|
province | String | No |
Provice ID List of Province ID |
type | Integer | No |
Key Type List of Key Type |
page | Integer | No | Page Order |
lang | String | No |
Language Code
|
sort | String | No | Sorting Order |
api_key | String | Yes | API Key which you have received via E-mail |
secret_key | String | Yes | Secret Key which you have received via E-mail |
Parameter name | Type | Description |
---|---|---|
id | Integer | Data Key |
name | String | Name |
address | String | Address |
start_date | Date | Start date |
end_date | Date | End date |
website | String | Website |
is_official | String | URL of Official Logo |
is_verified | String | URL of Verified Logo |
url | String | URL of content in Thailand Tourism Directory website |
picture_url | String | URL of images |
{ "status": "OK", "attribution_logo" : "https://www.thailandtourismdirectory.go.th/images/serviceapi/logo.png", "attribution_url" : "https://www.thailandtourismdirectory.go.th", "results": [ { "id": 5560, "name": "เทศกาลปลาไหลข้าวใหม่หอมมะลิและงานกาชาดประจำปี", "address": "ฝ่ายบริหารงานปกครองที่ว่าการอำเภอชุมพลบุรี โทร.044-596088 ต.ชุมพลบุรี อ.ชุมพลบุรี จ.สุรินทร์ 32190", "start_date": "2017-12-13", "end_date": "2017-12-19", "website": "", "is_official": "", "is_verified": "", "picture_url": "https://www.thailandtourismdirectory.go.th/file/get/file/20171023605b4cce85cac4dffcbea04944a73ac7003630.jpg", "url": "https://www.thailandtourismdirectory.go.th/info/activity/detail/itemid/5560" }, ... ] }
การนำ Widget ไปใช้งานให้ผู้ใช้คัดลอกและวางรหัสที่กำหนดเองใน HTML บนเว็บไซต์ของคุณ โปรดระบุ API Key เพื่อให้สามารถเรียกใช้งานได้สมบูรณ์