Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cimok2000/superhero.js

Repository files navigation

superhero.js - superheroapi.com API Wrapper

Install

Coming Soon..

npm install superhero.js

Usage

To use superhero.js you will need to generate an API key on the Superheroapi.com Site and replace your_api_key with it:

// Javascript
const SUPERHERO = require("superhero.js");
// Typescript
import SUPERHERO from "superhero.js";
const Superhero = new SUPERHERO(`your-api-key`);

You will now be able to test if your API key is correct by using the following function:

console.log(await Superhero.validate());

If you get a response of true your API key is valid. If you get a response of false your API key is invalid.

About

superheroapi.com API Wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published