This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

gfycat
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

gfycat

npm GitHub Commitizen friendly CircleCI

Unofficial Node JavaScript API wrapper written in TypeScript for Gfycat.com API. Why an unofficial SDK? The official Gfycat JavaScript client is incomplete and lacks TypeScript support.

Table of Contents

Install

This package requires Node version 14 or higher.

Install with npm

npm i gfycat

or yarn

yarn add gfycat

Usage

See examples in the examples directory.

You will need a Gfycat API client id and client secret. Follow the steps in the Gfycat API documentation to obtain a client id and client secret.

You can enable logging by setting the DEBUG environment variable to gfycat, i.e. DEBUG=gfycat or DEBUG=*.

Features

This is a work-in-progress SDK. Not all APIs are implemented. The list of documented Gfycat API endpoints can be found in the Gfycat API documentation.

Authentication

Users

User Feeds

Collections

The collections APIs are undocumented.

  • [x] Create a collection
  • [x] Add to a collection
  • [x] Remove from a collection
  • [x] Delete a collection
  • [x] Get a user's collections
  • [x] Get gfycats in a collection

Gfycat

Trending Feeds

Search

Contributing

This project uses commitizen and semantic-release. When committing, please use npm run commit to let commitizen create your commit.

Readme

Keywords

Package Sidebar

Install

npm i gfycat

Weekly Downloads

2

Version

3.0.0

License

MIT

Unpacked Size

90.3 kB

Total Files

6

Last publish

Collaborators

  • matt.hamil