Thailand Regions Find and Remote Distance API
Use your 5 digit Thailand postcode to find what region on them and check if it a 'remote distance' for distribution service. Now it's only available only for Flash Express
$3
Using npm to install
``
npm install --save thai-geo-shipping
`
$3
`
const thaiGeo = require('thai-geo-shipping')
let myRegion = thaiGeo.findRegion('90110')
console.log(myRegion)
`
expected answer is 'south'
$3
`
import ThaiGeo from 'thai-geo-shipping'
let myRegion = ThaiGeo.findRegion('90110')
`
Core Function
$3
Function is to check if your postcode is remote area in shipping provider in Thailand or not. Return Boolean true or false and or undefined.
- postcode
postcode of the area that you want to check
- provider` use flash,kerry,thaipost now available only flash
$3
Find that your postcode located in what region in Thailand, when use Thailand has 4 regions and 1 Bangkok.
Return 'string' region it will be 'bangkok','north','northeast','central', and 'south'
- postcode postcode of place where you want to search Region
$3
Find that your postcode located in what region in Thailand, when use Thailand has 6 regions and 1 Bangkok.
Return 'string' region it will be 'bangkok','north','northeast','central','east', 'west' and 'south'
- postcode postcode of place where you want to search Region
---
Design by Intelligent Automation Reserach Center (IARC) at Prince of Songkla University Hatyai Campus Thailand.