Skip to content
Java Library for WordReference.com
Java Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
src
.gitignore
NEWS
README
TODO.md
pom.xml

README

Java Library for WordReference.com
==================================

Java6 library and command line client for WordReference API:
 - supports API version 0.8
 - JSON over HTTP with optional GZIP compression

Prerequisites
-------------

Build:
- JDK 11
- Apache Maven 2.2+

Run:
- JRE 11
- wordreference API key
    http://www.wordreference.com/docs/APIregistration.aspx



Howto for the command line client
---------------------------------

$ mvn clean compile assembly:single
$ echo "your_api_key" > ~/.wr
$ java -jar target/wrcli.jar iten nebbia
category 'original':
 nebbia marina, foschia marina
   sea mist
 camera a nebbia
$

Please note that "iten" is the Italian->English dictionary. See
http://www.wordreference.com/docs/api.aspx for the complete list of
supported dictionaries.


Manual installation
-------------------

$ sudo install -D -m755 target/wrcli.jar /opt/wrcli/wrcli.jar
$ sudo install -m755 bin/wrcli /usr/local/bin/wrcli

You can’t perform that action at this time.