An open API service indexing awesome lists of open source software.

https://github.com/devyukine/truepixabay

Typescript wrapper around pixabay.com
https://github.com/devyukine/truepixabay

Last synced: 10 months ago
JSON representation

Typescript wrapper around pixabay.com

Awesome Lists containing this project

README

          

# TruePixabay
Typescript module to interact with the Pixabay API.

Example usage:

```typescript
import { Client } from 'truepixabay'

const client = new Client({ token: 'YOUR-SUPER-SECRET-TOKEN' })

client.getImages({ q: 'fox' })
.then(console.log)
.catch(console.error)
```

```js
const { Client } = require('truepixabay');

const client = new Client({ token: 'YOUR-SUPER-SECRET-TOKEN' })

client.getImages({ q: 'fox' })
.then(console.log)
.catch(console.error)
```