yandex-validator

0.0.1 • Public • Published

Yandex Validator API Client

Example of code

 
// require the module
const yaval = require('yandex-validator')
 
// setup using api key from Yandex Developer Panel
ya = new yaval('API_KEY');
 
 
// validateByURL is a method for validation by URL
ya.validateByURL({
  "url": 'https://www.kinopoisk.ru',
  "lang": 'en',
  "pretty": false,
  "id": '',
  "only_errors": false
}, (body) => {
  console.log(body);
})

Package Sidebar

Install

npm i yandex-validator

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

2.97 kB

Total Files

4

Last publish

Collaborators

  • ptaberg