urbandictionary 0.1.0 copy "urbandictionary: ^0.1.0" to clipboard
urbandictionary: ^0.1.0 copied to clipboard

outdated

Urban Dictionary API clients for accessing word definitions

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
0
pub points
0%
popularity

Publisher

verified publishervojtech.net

Urban Dictionary API clients for accessing word definitions

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio, json_annotation, meta, pedantic

More

Packages that depend on urbandictionary