Skip to content

tian2992/raequel

Repository files navigation

Raequel

RAEQUEL is currently broken, RAE actively fights against scraping, and I have not done significant effort on cracking it.

contact me at [email protected] if you want to help/code/talk.

An API for the Real Academia Española Dictionary

Raequel is an informal API to realize automated queries to buscon.rae.es, returning it on JSON (and then XML) Raequel is free software under the GNU AGPL 3.0.

Dictionary Icon from http://www.openclipart.org/detail/29190

Installing

Register your application in Google App Engine

upload the application using the google_app engine for python SDK

$ cd raequel

Modify app.yml to point to your new app engine application, you will have to modify the application name

$ appcfg.py update .

Using the API

GET

$ curl "http://raequel.sebastianoliva.com/json?query=idioma"

REST

$ curl "http://raequel.sebastianoliva.com/w/xml/papa"
$ curl "http://raequel.sebastianoliva.com/w/json/papa"

JSONP

You could also call it from your javascript code executed in client side.

For example, using jquery:

<script src="jquery.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">
   $(function() {
    $.getJSON('http://raequel.sebastianoliva.com/w/json/idioma', function(data) {
            console.log(data);
        });
    });
</script>

More info at raequel.sebastianoliva.com

About

API para el DRAE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •