giphy_client 0.2.0

Dart native js
Flutter Android iOS web

A Giphy API Client for Dart compatible Web, Flutter, and server-side dart

giphy_client #

Build Status codecov

A Giphy API Client for Dart compatible with all platforms

Usage #

First, register an app at the Giphy Developers Portal.

Then, follow the instructions below:

import 'package:giphy_client/giphy_client.dart';

main() async {
  // Create the client with an api key
  //
  // Visit https://developers.giphy.com to obtain a key
  final client = new GiphyClient(apiKey: 'your_api_key_here');

  // Fetch & print a collection of trending gifs
  final gifs = await client.trending();

  print(gifs);

  // Fetch & print a collection with options
  final nsfwGifs = await client.trending(
    offset: 1,
    limit: 10,
    rating: GiphyRating.r,
  );

  print(nsfwGifs);
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

10
likes
95
pub points
89%
popularity

A Giphy API Client for Dart compatible Web, Flutter, and server-side dart

Homepage

Documentation

API reference

Uploader

brian@brianegan.com

License

MIT (LICENSE)

Dependencies

http, meta

More

Packages that depend on giphy_client