3.0.0 • Published 2 years ago

gfycat v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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.

  • Create a collection
  • Add to a collection
  • Remove from a collection
  • Delete a collection
  • Get a user's collections
  • 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.

3.0.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

2.0.0

2 years ago

0.1.0

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago