yandex-xml

1.0.2 • Public • Published

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.

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i yandex-xml

    Weekly Downloads

    2

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    4.79 kB

    Total Files

    3

    Last publish

    Collaborators

    • nazar9505