Address-PostCode-India
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Address/PostCode/India.pm view on Meta::CPAN
package Address::PostCode::India;
$Address::PostCode::India::VERSION = '0.13';
$Address::PostCode::India::AUTHORITY = 'cpan:MANWAR';
=head1 NAME
Address::PostCode::India - Interface to the India PinCode.
=head1 VERSION
Version 0.13
=cut
use 5.006;
use JSON;
use Data::Dumper;
use Address::PostCode::UserAgent;
use Address::PostCode::India::Place;
use Moo;
use namespace::autoclean;
extends 'Address::PostCode::UserAgent';
our $BASE_URL = 'http://getpincodes.info/api.php';
=head1 DESCRIPTION
The API service is provided by L<website|http://getpincodes.info/apidetail.php>.
A Postal Index Number or PIN or Pincode is the post office numbering or post code
system used by India Post, the Indian postal administration. The code is 6 digits
long. The PIN was introduced on 15 August 1972.
There are nine PIN zones in India,including eight regional zones & one functional
zone (Indian Army). The first digit of the PIN code indicates the region. The
second digit indicates the sub-region, and the third digit indicates the sorting
district within the region.The final three digits are assigned to individual post
offices.
+-------------------------+-------------------------------------------------+
| First 2/3 Digits of PIN | Postal Circle |
+-------------------------+-------------------------------------------------+
| 11 | Delhi |
| 12 and 13 | Haryana |
| 14 to 15 | Punjab |
| 16 | Chandigarh |
| 17 | Himachal Pradesh |
| 18 to 19 | Jammu and Kashmir |
| 20 to 28 | Uttar Pradesh/Uttrakhand |
| 30 to 34 | Rajasthan |
| 36 to 39 | Gujarat |
| 40 | Goa |
| 40 to 44 | Maharashtra |
| 45 to 48 | Madhya Pradesh |
| 49 | Chhattisgarh |
| 50 to 53 | Andhra Pradesh |
| 56 to 59 | Karnataka |
| 60 to 64 | Tamil Nadu |
| 67 to 69 | Kerala |
| 682 | Lakshadweep (Islands) |
| 70 to 74 | West Bengal |
| 744 | Andaman and Nicobar Islands |
| 75 to 77 | Odisha |
| 78 | Assam |
| 79 | Arunachal Pradesh |
| 793, 794, 783123 | Meghalaya |
| 795 | Manipur |
| 796 | Mizoram |
| 799 | Tripura |
| 80 to 85 | Bihar and Jharkhand |
+-------------------------+-------------------------------------------------+
=head1 METHODS
=head2 details($pin_code)
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.529 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )