Skip to content

Herohtar/wordnik-dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wordnik

Wordnik API for Dart

All object models and API calls have been implemented, but with minimal testing. API signatures are likely to change until fully tested.

Related:

Basic usage

import 'package:wordnik/wordnik.dart';

void main() async {

  Wordnik wordnik = Wordnik('YOUR_API_KEY');

  WordObject randomWord = await wordnik.getRandomWord(
    includePartOfSpeech: 'verb',
    minLength: 6,
    maxLength: 10
  );

  print(randomWord.word);

}