https://github.com/fyko/merriam-webster
Rust libraries for the Merriam Webster Collegiate Dictionary API
https://github.com/fyko/merriam-webster
Last synced: over 1 year ago
JSON representation
Rust libraries for the Merriam Webster Collegiate Dictionary API
- Host: GitHub
- URL: https://github.com/fyko/merriam-webster
- Owner: Fyko
- License: apache-2.0
- Created: 2023-10-14T03:29:55.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-14T05:31:56.000Z (almost 3 years ago)
- Last Synced: 2025-03-28T15:16:35.658Z (over 1 year ago)
- Language: Rust
- Size: 136 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Merriam Webster
Rust libraries for the [Merriam Webster Collegiate Dictionary API].
[](https://github.com/Fyko/merriam-webster/actions/workflows/ci.yml)
## Packages
- [`merriam-webster-http`]: An HTTP client for the Merriam Webster's Dictionary API
- [`merriam-webster-model`]: Models for the Merriam Webster's Dictionary API
[Merriam Webster Collegiate Dictionary API]: https://dictionaryapi.com/products/json
[`merriam-webster-http`]: ./merriam-webster-http
[`merriam-webster-model`]: ./merriam-webster-model
## Examples
### Definition
Fetches the short definitions for the word "documentation".
```console
$ MERRIAM_WEBSTER_API_KEY=... cargo run --example definition documentation
```
### Top Words
Queries the current top words for Merrium Webster's searchbar.
```console
$ MERRIAM_WEBSTER_API_KEY=... cargo run --example top_words
```
#### License
Licensed under either of Apache License, Version
2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in this crate by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.