Skip to main content

apiverve_charades 1.2.4 copy "apiverve_charades: ^1.2.4" to clipboard
apiverve_charades: ^1.2.4 copied to clipboard

Charades Generator provides random words from curated categories perfect for playing the classic charades acting game.

Charades Generator API - Dart/Flutter Client #

Charades Generator provides random words from curated categories perfect for playing the classic charades acting game.

pub package License: MIT

This is the Dart/Flutter client for the Charades Generator API.

Installation #

Add this to your pubspec.yaml:

dependencies:
  apiverve_charades: ^1.2.4

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage #

import 'package:apiverve_charades/apiverve_charades.dart';

void main() async {
  final client = CharadesClient('YOUR_API_KEY');

  try {
    final response = await client.execute({
      'category': 'all'
    });

    print('Status: ${response.status}');
    print('Data: ${response.data}');
  } catch (e) {
    print('Error: $e');
  }
}

Response #

{
  "status": "ok",
  "error": null,
  "data": {
    "word": "Selena",
    "category": "movies"
  }
}

API Reference #

Authentication #

All requests require an API key. Get yours at apiverve.com.

License #

MIT License - see LICENSE for details.


Built with Dart for APIVerve

0
likes
140
points
1.01k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Charades Generator provides random words from curated categories perfect for playing the classic charades acting game.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_charades