giphy_api_client 0.1.3 copy "giphy_api_client: ^0.1.3" to clipboard
giphy_api_client: ^0.1.3 copied to clipboard

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

example/example.dart

import 'package:giphy_api_client/giphy_api_client.dart';

void main() async {
  // Create the client with an api key
  //
  // Visit https://developers.giphy.com to obtain a key
  final client = 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);
}
1
likes
140
pub points
64%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

http, meta

More

Packages that depend on giphy_api_client