0.0.1 • Published 6 years ago

yandex-validator v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

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);
})