imgflip.com
TypeScript icon, indicating that this package has built-in type declarations

3.3.7 • Public • Published

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

Package Sidebar

Install

npm i imgflip.com

Weekly Downloads

6

Version

3.3.7

License

GPL-3.0

Unpacked Size

46.3 kB

Total Files

15

Last publish

Collaborators

  • ffflorian