Skip to main content

Search the meaning of the word from Cambridge Dictionary online, and get the result in JSON format

Project description

Cambridge Dictionary

Search the meaning of the word from Cambridge Dictionary online, and get the result in JSON format

Installation

You can install the cambridict from PyPI:

pip install cambridict

How to use

import json

from cambridict import Cambridge

d = Cambridge('EV')

word = 'take'
data = d.search(word)

result = '{0}.json'.format(word)
with open(result, 'w') as fp:
    json.dump(data, fp, indent=4)

Sample output take.json

Supported dictionaries

Name Dictionary
EE English
EV English-Vietnamese

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cambridict-0.1.6.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

cambridict-0.1.6-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page