urbandictionary 0.1.2
urbandictionary: ^0.1.2 copied to clipboard

Dart native js
Flutter Android iOS Linux macOS web Windows

Urban Dictionary API clients for accessing word definitions. Official and RapidAPI endpoints are supported.

example/lib/main.dart

import 'package:urbandictionary/urbandictionary.dart';

void main() {
//  final client = UrbanDictionary(
//    client: RapidApiUrbanDictionaryClient(
//      key: 'YOUR_API_KEY',
//    ),
//  );

  final client = UrbanDictionary(client: OfficialUrbanDictionaryClient());

  client.define('egghead').then((response) {
    print(response.first);
  });

//  client.random().then((response) {
//    print(response);
//  });
}
2
likes
100
pub points
2%
popularity

Publisher

vojtech.net

Urban Dictionary API clients for accessing word definitions. Official and RapidAPI endpoints are supported.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dio, json_annotation, meta, pedantic

More

Packages that depend on urbandictionary