yandex-validator
v0.0.1
Published
The API client for Yandex Validator
Downloads
2
Maintainers
Readme
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);
})