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
- Host: GitHub
- URL: https://github.com/devyukine/truepixabay
- Owner: DevYukine
- License: mit
- Created: 2018-05-19T17:09:27.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-21T20:38:39.000Z (about 8 years ago)
- Last Synced: 2025-02-21T07:39:24.257Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)
```