wordnik-api
Version:
Community API for https://wordnik.com with types
41 lines (26 loc) • 1.07 kB
Markdown
The simple answer is that the other Wordnik APIs are older, and do not have built-in types, making it difficult to use
for TypeScript developers.
To get an API key, visit https://developer.wordnik.com/gettingstarted to create an account and request an API key.
```bash
npm i wordnik-api
yarn add wordnik-api
```
```js
const {WordnikAPI} = require("wordnik-api");
const api = new WordnikAPI("your_api_key");
```
You can then use the methods described [in the docs](https://alexanderepolite.github.io/wordnik-javascript-api/classes/WordnikAPI.html)
to use on the `api` object you created. Have fun!
Want to contribute? Contributions are always welcome! Please visit the
[](https://github.com/alexanderepolite/wordnik-javascript-api/) and make a
pull request with your contributions.