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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    1

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