Skip to content

dfa1/wr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Java Library for WordReference.com

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •