node-visalist

    1.0.1 • Public • Published

    Node-Visalist

    A Wrapper for Visalist.io API

    Usage

    const Visalist = require('node-visalist');
    const visa = new Visalist({
      apiKey: ''
    });

    Get Visa requirements by country

    const requirements = await visa.getRequirements(country);
    
    /* Specify the origin country slug and it will output the requirements for every country in the world (or at least in the database) */

    Get Visa requirements for a specific destination

    const requirements = await visa.getRequirementsForACountry(
      originCountry,
      destinationCountry
    );
    /* originCountry and destinationCountry are slugs */

    Keywords

    none

    Install

    npm i node-visalist

    DownloadsWeekly Downloads

    0

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    1.87 kB

    Total Files

    4

    Last publish

    Collaborators

    • jzarca01