UNPKG

verifik

Version:

This library is a wrap of the official API found in docs.verifik.co

17 lines (14 loc) 304 B
const { requestEndpoint } = require('./core'); const getID = (documentType, documentNumber) => requestEndpoint('mx/curp', { documentType, documentNumber }); const getVehicle = (plate) => requestEndpoint('mx/vehiculo/placa', { plate, }); module.exports = { getID, getVehicle, };