Metadata-Version: 2.1
Name: oxforddictionaries
Version: 0.1.101
Summary: A python wrapper for the Oxford Dictionaries API.
Home-page: https://github.com/RafaelBroseghini/OxfordAPI
Author: Rafael Broseghini
Author-email: rafaellopesbroseghini@gmail.com
License: UNKNOWN
Project-URL: API Source, https://developer.oxforddictionaries.com/
Project-URL: Source, https://github.com/RafaelBroseghini/OxfordAPI
Keywords: words synonyms antonyms definitions
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown
Requires-Dist: requests

# Oxford Dictionary API Python Wrapper

This is a python wrapper for the Oxford Dictionary API.
The Oxford API offers a free plan with up to 3,000 requests per month with ull access to Oxford Dictionaries data, although you will need to register for an API key. Sign up [here](https://developer.oxforddictionaries.com/).

## Installation

* `git clone git@github.com:RafaelBroseghini/OxfordAPI.git`
* `cd OxfordAPI`
* `python OxfordDictionaries.py`


## Usage

The code below shows how to quickly get 10 synonyms for a chosen word.

```python
from oxforddictionaries.words import OxfordDictionaries

o = OxfordDictionaries.Oxford(app_id, app_key)

relax = o.get_synonyms("absorb").json()

synonyms = relax['results'][0]['lexicalEntries'][0]['entries'][0]['senses'][0]['synonyms']

for s in range(10):
    print(synonyms[s]['text'])

```
## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :+1:


