1.1.0 • Published 4 years ago

turkey-yl-district v1.1.0

Weekly downloads
6
License
Apache
Repository
github
Last release
4 years ago

Turkey Province, District List

With this package you get a list of cities in Turkey. It is possible to access district and neighborhood information of these provinces.

Installation

$ npm install turkey-yl-district

Quick Start

  • To attract provincial names;
const { getCityName } = require('turkey-yl-district');

const cityNames = await getCityName();
  • To take the city names and license plate numbers;
const { getCityNameAndPlates } = require('turkey-yl-district');

const cityNamesAndPlates = await getCityNameAndPlates();
  • To draw a county list by sending the city name or license plate number;
const { getDistrictsName } = require('turkey-yl-district');

const districtNames = await getDistrictsName('Manisa');

// or

const districtNames = await getDistrictsName('45');
  • To draw the neighborhood names of the district;
const { getNeighbourhoods } = require('turkey-yl-district');

const neighborhoodNames = await getNeighbourhoods('Manisa', 'Turgutlu');

Useful resources

License

Apache

1.1.0

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago