Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.07 KB

File metadata and controls

44 lines (28 loc) · 1.07 KB

Wordnik API Client

Note: this is a community made project, it is not affiliated with Wordnik.

Usage

Obtain an API key

To get an API key, visit https://developer.wordnik.com/gettingstarted to create an account and request an API key.

Download

# use npm to install
npm i wordnik-api
# or use yarn if you prefer
yarn add wordnik-api

Initializing the API (TypeScript)

import {WordnikAPI} from "wordnik-api";

const api = new WordnikAPI("your_api_key");

Initializing the API (JavaScript)

const {WordnikAPI} = require("wordnik-api");

const api = new WordnikAPI("your_api_key");

Documentation

After initializing the API use the methods described in the docs to use on the api object you created. Have fun!

Contributing

Want to contribute? Contributions are always welcome! Please visit the GitHub repo and make a pull request with your contributions.