Skip to content

Latest commit

 

History

History

imgflip.com

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

imgflip.com npm version

An imgflip.com API client. For a documentation on the API see https://api.imgflip.com/.

Installation

Run yarn add imgflip.com or npm install imgflip.com.

Usage

A complete documentation is available at https://ffflorian.github.io/api-clients/packages/imgflip.com/.

Example

import {Imgflip} from 'imgflip.com';

const imgflip = new Imgflip();

imgflip.api
  .getMemes().then(response => {
    //
  });

imgflip.api
  .captionImage({
    username: 'myUser',
    password: 'secret-password',
    template_id: 438680,
    // ...
  })
  .then(response => {
    //
  });

Build and test

yarn
yarn test