MarkFirman / Oxford-Dictionaries-API-Wrapper

PHP wrapper to communicate with the Oxford Dictionary API
GNU General Public License v3.0
3 stars 4 forks source link

"Oops - a definition for cannot be found" #2

Closed emresaracoglu closed 4 years ago

emresaracoglu commented 4 years ago

Hello

I believe I'm doing everything right, but it still warns that no definition has been found. Where am I doing something missing?

       include "OxfordDAW.php";
       $dictionary = new dictionary("appCode", "appKey", "en"); 
    $dictionary->getWord("example");
    echo $dictionary->getDefinition();

Oops - a definition for cannot be found

Thank you.

emresaracoglu commented 4 years ago

All words return without results

emresaracoglu commented 4 years ago

Sorry, my mistake :)

emresaracoglu commented 4 years ago

Thank you for this repo!