Simple Command Line Interface implementation of PONS Dictionary
Work in progress, bugs are expected
- Create and activate a free account at https://account.pons.com/en/public/signup
- Generate a API secret key at https://en.pons.com/open_dict/public_api?logged=1
git clone https://github.com/Nickguitar/PONS-CLI && cd PONS-CLI
- Change the value of var
secret
at line 3 to your secret key
./pons [-l <language1><language2>] <word>
Ex:
- Translate the word "pantalla" from spanish to english:
./pons -l enes pantalla
- Translate the word "helicopter" from english to german:
./pons -l deen helicopter
- Translate the word "schneiden" using the default languages (de-en):
./pons schneiden
- The default languages are german (de) and english (en)
- You can change the default languages in var
language
at line 9 - Available languages: de,el,en,es,fr,it,pl,pt,ru,sl,tr,zh.
- Not every language pair works
- If it doesn't work (ex:
-l ende
), try reversing it (-l deen
)