apiverve_charades 1.2.4
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.
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 #
- API Home: Charades Generator API
- Documentation: docs.apiverve.com/ref/charades
Authentication #
All requests require an API key. Get yours at apiverve.com.
License #
MIT License - see LICENSE for details.
Built with Dart for APIVerve