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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for cambridict-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d11b49d29c06f9485267ea569dfa499d7e5b160c4a3b0d977a9ca921e723c02 |
|
MD5 | b79ef9f3d35b527b9405ef5b9612f606 |
|
BLAKE2b-256 | 1731e94411be91d0fb7a189df53f2c580b7c6b8f36df2acacb8bd2c490dd020b |