0.3.6 • Published 5 years ago

fapi-client v0.3.6

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

fClient

A REST client that wraps the fAPI image manipulation API.

Quality Gate Status gh_pages deps npm_version npm_downloads discord

Install:

npm i fapi-client

Examples:

TypeScript:

import { Client } from 'fapi-client/JS/src/client'

import { writeFileSync } from 'fs';

const client = new Client({ auth: 'exampleKey' });

(async () => {
    const result = await client.keemstar('https://fapi.dreadful.tech/images/logo.png');
    writeFileSync('./output.png', result)
    return 0
})()

JavaScript:

const Client = require('fapi-client/JS/src/client').Client

const writeFileSync = require('fs').writeFileSync

const client = new Client({ auth: 'exampleKey' });

(async () => {
    const result = await client.keemstar2('https://fapi.dreadful.tech/images/logo.png');
    writeFileSync('./output.png', result)
    return 0
})()

Contributing

To contribute, open a PR with your requested changes. All changes should point to the dev branch - all PRs pointing to master will be closed.

Support

For support with this wrapper and fAPI in general, you can join the Discord server here.

0.3.6

5 years ago

0.3.5

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.2

5 years ago

0.2.0

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.1

5 years ago