Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sandipmavani/india-territory
Territories of India By PinCode and City
https://github.com/sandipmavani/india-territory
india nodejs npm npm-package npmjs territory
Last synced: 4 months ago
JSON representation
Territories of India By PinCode and City
- Host: GitHub
- URL: https://github.com/sandipmavani/india-territory
- Owner: sandipmavani
- License: mit
- Created: 2017-05-01T06:44:40.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-01T12:25:57.000Z (over 6 years ago)
- Last Synced: 2024-09-28T15:21:08.779Z (4 months ago)
- Topics: india, nodejs, npm, npm-package, npmjs, territory
- Language: JavaScript
- Homepage:
- Size: 2.49 MB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> Territories of India By PinCode
[![NPM Version](https://img.shields.io/npm/v/india-territories.svg?maxAge=2592000)](https://www.npmjs.com/package/india-territories)
[![NPM Downloads](https://img.shields.io/npm/dt/india-territories.svg?maxAge=2592000)](https://www.npmjs.com/package/india-territories)- **76462** PinCode
## Installation
```js
$ npm install --save india-territories
```### Usage
```js
var indiaTerritores = require('india-territories');// get area detail from pin code
indiaTerritores.searchFromPINCode('######', function(res){
console.log(res);
});// get city detail by name
indiaTerritores.searchFromCity('City Name', function(res){
console.log(res);
});// get all city by state Name
indiaTerritores.getStateData('State Name', function(res){
console.log(res);
});## Support on Beerpay
Hey dude! Help me out for a couple of :beers:![![Beerpay](https://beerpay.io/sandipmavani/india-territory/badge.svg?style=beer-square)](https://beerpay.io/sandipmavani/india-territory) [![Beerpay](https://beerpay.io/sandipmavani/india-territory/make-wish.svg?style=flat-square)](https://beerpay.io/sandipmavani/india-territory?focus=wish)