All Projects → th0rgall → voc-api

th0rgall / voc-api

Licence: MIT license
Unofficial API for vocabulary.com. Manage lists and get definitions.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to voc-api

opentrack-cg
Repository for OpenTrack Community Group
Stars: ✭ 21 (+0%)
Mutual labels:  vocabulary
high-frequency-vocabulary
30,000 most common English words with Chinese dictionary explanations in order of frequency.
Stars: ✭ 98 (+366.67%)
Mutual labels:  vocabulary
skosprovider
A python abstraction for SKOS vocabularies
Stars: ✭ 14 (-33.33%)
Mutual labels:  vocabulary
zkanji
Japanese language study suite and dictionary
Stars: ✭ 55 (+161.9%)
Mutual labels:  vocabulary
specification
RDF vocabulary and specification
Stars: ✭ 21 (+0%)
Mutual labels:  vocabulary
vocabulary-titan
Chatbot for searching vocabulary on mainstream dictionaries
Stars: ✭ 70 (+233.33%)
Mutual labels:  vocabulary
bookmarker
A personal project to help me retain information from books
Stars: ✭ 63 (+200%)
Mutual labels:  vocabulary
VocableTrainer-Android
Vocabulary Trainer for Android - not lang specific
Stars: ✭ 26 (+23.81%)
Mutual labels:  vocabulary
mobi
Mobi is a decentralized, federated, and distributed graph data platform for teams and communities to publish and discover data, data models, and analytics that are instantly consumable.
Stars: ✭ 41 (+95.24%)
Mutual labels:  vocabulary
vocage
A minimalistic spaced-repetion vocabulary trainer (flashcards) for the terminal
Stars: ✭ 68 (+223.81%)
Mutual labels:  vocabulary
BinPackage
The vocabulary of modern Icelandic, encapsulated in a Python package
Stars: ✭ 19 (-9.52%)
Mutual labels:  vocabulary
ieml-language
The IEML language database. A git database containing the translations for IEML expressions: USL (Uniform Semantic Locator)
Stars: ✭ 17 (-19.05%)
Mutual labels:  vocabulary
jiten
jiten - japanese android/cli/web dictionary based on jmdict/kanjidic — 日本語 辞典 和英辞典 漢英字典 和独辞典 和蘭辞典
Stars: ✭ 64 (+204.76%)
Mutual labels:  vocabulary
vocascan-frontend
A highly configurable vocabulary trainer
Stars: ✭ 26 (+23.81%)
Mutual labels:  vocabulary
data-models
Collection of various biomedical data models in parseable formats.
Stars: ✭ 23 (+9.52%)
Mutual labels:  vocabulary
tributech-catalog-api
Tributech Catalog - Create and manage your DTDL models using our graphical interface and store them using our APIs.
Stars: ✭ 15 (-28.57%)
Mutual labels:  vocabulary
new-word-tab
A browser extension to learn a new word per new tab
Stars: ✭ 30 (+42.86%)
Mutual labels:  vocabulary
mobivoc
A vocabulary for future-oriented mobility solutions and value-added services supporting them.
Stars: ✭ 27 (+28.57%)
Mutual labels:  vocabulary
semantic-web
Storing ontologies/vocabularies from the web. Wish anybody can translate some of them.
Stars: ✭ 114 (+442.86%)
Mutual labels:  vocabulary
PHES-ODM
Metadata and code to support covid-19 wastewater surveillance and open science.
Stars: ✭ 34 (+61.9%)
Mutual labels:  vocabulary

Warning: this code has not been maintained for years and has several issues. Most of it might still work, but I recommend you only use this repository for reference.

Vocabulary.com API

This is an unofficial Javascript API for vocabulary.com. It can be used in Firefox/Chrome web extensions or Node.js projects.

Unfortunately, the API can not be used in a regular web app because of CORS and other browser safety measures.

To access your user account data you need a vocabulary.com username & password.

Getting started

To install:

npm install --save th0rgall/voc-api

(note: this package is not published on NPM at the moment)

Sample usage in a Node.js project:

const VocAPI = require("voc-api");
const voc = new VocAPI();

// some methods extract public vocabulary.com information
voc.getDefinition("tester").then((definition) => {
  console.log(definition.short);
});
// prints: "When someone is a tester, they either administer tests or they assess the safety or function of a product. You might hope for an eventual career as a bubblegum tester."

// manage user list by logging in first
voc.login("<username>", "<password>").then(() => {
  // add the word "tester" to an existing vocabulary.com list with the name "Words to study". Include an example sentence.
  voc
    .addToListName(
      {
        word: "tester",
        example: "The tester tested the untested application.",
      },
      "Words to study"
    )
    .then(() => console.log("Success!"));
});

For all features, check out the API reference.

API Reference

Usage in a web extension

Make sure that your extension has host permissions for vocabulary.com, e.g. by adding *://*.vocabulary.com/* to your manifest.json.

Refer to voc-enhancer for a web extension example that uses this API (the API was originally built for this extension).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].