truepixabay
v1.0.4
Published
a library to interact with pixabay api.
Downloads
7
Readme
TruePixabay
Typescript module to interact with the Pixabay API.
Example usage:
import { Client } from 'truepixabay'
const client = new Client({ token: 'YOUR-SUPER-SECRET-TOKEN' })
client.getImages({ q: 'fox' })
.then(console.log)
.catch(console.error)
const { Client } = require('truepixabay');
const client = new Client({ token: 'YOUR-SUPER-SECRET-TOKEN' })
client.getImages({ q: 'fox' })
.then(console.log)
.catch(console.error)