node-rae
node-rae copied to clipboard
Add link to RAE API documentation
Please consider adding a link to the RAE API documentation to the README.
@skangas , have you found one?
idk who told you there's an api. This library was born for scraping the site due to the absence of an api. Any documentation would be a guide to scraping the site, not to an api (as it is nonexistent).
I was under the impression that there was an API, and was confused when I could not find it.
Perhaps it should be documented in the README that there is no API, and that this relies on scraping.
https://github.com/tsur/node-rae/blob/estable/src/lib/clients/http/parse.js
this is the file that manages the "challenge". RAE really hates scraping so they set up challenges to try to prevent people from doing it. It does stop most attempts. They also update the challenges sometimes, breaking libraries and forcing people to adapt to the new challenges.
I realised only late that it was all scraping after noticing all npm modules that fetch RAE words are now broken. Thanks for the answer, Bestulo.