apiverve_bucketlist 1.2.3
apiverve_bucketlist: ^1.2.3 copied to clipboard
Bucket List supplies a random bucket list idea for life goals, travel aspirations, and personal adventures. Call the endpoint with no parameters to receive a single activity suggestion.
Bucket List API - Dart/Flutter Client #
Bucket List supplies a random bucket list idea for life goals, travel aspirations, and personal adventures. Call the endpoint with no parameters to receive a single activity suggestion.
This is the Dart/Flutter client for the Bucket List API.
Installation #
Add this to your pubspec.yaml:
dependencies:
apiverve_bucketlist: ^1.2.3
Then run:
dart pub get
# or for Flutter
flutter pub get
Usage #
import 'package:apiverve_bucketlist/apiverve_bucketlist.dart';
void main() async {
final client = BucketlistClient('YOUR_API_KEY');
try {
final response = await client.execute();
print('Status: ${response.status}');
print('Data: ${response.data}');
} catch (e) {
print('Error: $e');
}
}
Response #
{
"status": "ok",
"error": null,
"data": {
"bucketListItem": "Go on a educational trip"
}
}
API Reference #
- API Home: Bucket List API
- Documentation: docs.apiverve.com/ref/bucketlist
Authentication #
All requests require an API key. Get yours at apiverve.com.
License #
MIT License - see LICENSE for details.
Built with Dart for APIVerve