Skip to content

ugrinovsky/yandex-xml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yandex.XML API Wrapper

ES6 Interface for Yandex XML search

Installation

$ npm install yandex-xml

Usage

ya.search(options)

Example

const YandexXML = require('yandex-xml');
const ya = new YandexXML('<USERNAME>', '<KEY>');
const res = await ya.search({ query: '<QUERY>' });

res.forEach((el, i, arr) => {
    console.log(`${el.url} ${el.domain} ${el.title}`);
});

Options

All options in the official documentation here.

About

ES6 Interface for Yandex XML search

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published