Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 781 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 781 Bytes

FMS Client

A Node.js client for data acquisition from the Ministry of Internal Affairs of Russia.

Prerequisites

  • Node.js

Installation and Usage

  1. Install the necessary dependencies:
npm install
npm run test
  1. Use the FMS client in your project:
import FMSClient from './index.mjs'

const client = new FMSClient()
await client.initialize()

const result = await client.validate(SER, NUM)

Updates

  • Tests have been updated.
  • Corrections made to package and lock files.
  • Transitioned to node-fetch for request processing, replacing the deprecated request library.

API

validate

Obtaining information about the passport of a citizen of the Russian Federation from the list of invalid passports.