Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 468 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 468 Bytes

nodejs-yandex-geocoder

Usage

var yandexGeocoder = new YandexGeocoder({apiKey: 'YOUR_API_KEY_HERE'});

yandexGeocoder.resolve('Пермь, улица Бекетова', (err, collection) => {
    if (err) throw err;

    /*    
    collection = [{
        obl: 'Пермский край',
        raion: 'городской округ Пермь',
        place: 'Пермь',
        street: 'улица Бекетова'
    }]
    */
});