Skip to content

Commit 53e601f

Browse files
committed
- Updated package info
1 parent 9abfa3b commit 53e601f

File tree

3 files changed

+33
-3
lines changed

3 files changed

+33
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [0.3.0] - 2018-07-10
2+
3+
* Implemented the remaining `word` API calls
4+
* Added example package (incomplete)
5+
* Minor internal API adjustments
6+
17
## [0.2.0] - 2018-07-10
28

39
* Implemented all `wordList` API calls

README.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# wordnik
22

3-
Wordnik API for Dart. (See <https://developer.wordnik.com/>)
3+
### Wordnik API for Dart
44

5-
Currently, only `account`, `wordList`, `wordLists`, and `words` API calls are implemented.
5+
Work in progress. Currently, all object models and API calls have been implemented, but with minimal testing. API signatures are likely to change as development continues.
6+
7+
#### Related:
8+
* Wordnik: <https://www.wordnik.com/>
9+
* Wordnik API: <https://developer.wordnik.com/docs>
10+
11+
12+
## Basic usage
13+
```dart
14+
import 'package:wordnik/wordnik.dart';
15+
16+
void main() async {
17+
18+
Wordnik wordnik = Wordnik('YOUR_API_KEY');
19+
20+
WordObject randomWord = await wordnik.getRandomWord(
21+
includePartOfSpeech: 'verb',
22+
minLength: 6,
23+
maxLength: 10
24+
);
25+
26+
print(randomWord.word);
27+
28+
}
29+
```

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: wordnik
22
description: Wordnik API for Dart
3-
version: 0.2.0
3+
version: 0.3.0
44
author: "Herohtar <[email protected]>"
55
homepage: https://github.com/herohtar/wordnik-dart
66

0 commit comments

Comments
 (0)