Name of API: Random Expressions by Quantity Created by: Molino de Ideas To use this API you can subscribe to it on the Apicultur Store.
Prices
The price list for the API can be found here: Text.
Instructions
This tool provides a list of random expressions along with their definition, their frequency of use, their level of difficulty and and an example of how to use them. The number of expressions required is entered as a parameter. Type of Method: Get Version: 1.0.0 URI:
- http://store.apicultur.com/api/refranesaleatorioscantidad/1.0.0
- https://store.apicultur.com/api/refranesaleatorioscantidad/1.0.0
Last Updated: October 2012 Example of Entry http://store.apicultur.com/api/refranesaleatorioscantidad/1.0.0/{número de refranes}
Example of Result <listaRefranBean>
<refran>
<id>51</id>
<oracionProverbial>de noche todos los gatos son pardos </oracionProverbial>
<significado>En algunas situaciones, como por la noche, es difícil distinguir si algo es bueno o malo.</significado>
<ejemplo>Cuando vayas por ese barrio no te fÍes de nadie, que de noche todos los gatos son pardos.</ejemplo>
<frecuencia>0</frecuencia>
<nivel>0.121951210421452</nivel>
<dificultad>Nativo</dificultad>
</refran>
….
</listaRefranBean>
Entry of Parameters
Name | número de refranes |
Type | Integer |
Description | The number of random expressions requested |
Values | The integer has to be more than 0 and less than or equal to 10. If the integer is less than 1, only one expression will be given; if the integer is more than 10, only ten phrases will be provided. |
Example |
5 |
Result
The result is the command <listaRefranBean> which in turn contains:
Name | <refran> |
Type | Object |
Description | The command that contains the information about the suggested expression. There will be as many commands of <refran> as there are expressions requested. |
Example |
<refran><id>51</id><oracionProverbial>de noche todos los gatos son pardos </oracionProverbial><significado>En algunas situaciones, como por la noche, es difícil distinguir si algo es bueno o malo.</significado><ejemplo>Cuando vayas por ese barrio no te fíes de nadie, que de noche todos los gatos son pardos.</ejemplo><frecuencia>0</frecuencia><nivel>0.121951210421452</nivel><dificultad>Nativo</dificultad></refran> |
The command <refran> in turn contains
Name | <id> |
Type | Integer |
Description | The identifier for the suggested expression |
Example |
<id>51</id> |
Name | <oracionProverbial> |
Type | String |
Description | The suggested expression |
Example |
<oracionProverbial>de noche todos los gatos son pardos </oracionProverbial> |
Name | <significado> |
Type | String |
Description | The definition of the suggested expression |
Example |
<significado>En algunas situaciones, como por la noche, es difícil distinguir si algo es bueno o malo.</significado> |
Name | <ejemplo> |
Type | String |
Description | An example of how the suggested expression is used |
Example |
<ejemplo>Cuando vayas por ese barrio no te fíes de nadie, que de noche todos los gatos son pardos.</ejemplo> |
Name | <frecuencia> |
Type | Integer |
Description | The level of frequency of the expression |
Example |
<frecuencia>0</frecuencia> |
Name | <nivel> |
Type | Double |
Description | The level |
Example |
<nivel>0.121951210421452</nivel> |
Name | <dificultad> |
Type | String |
Description | The level of difficulty of the expression (the suggested level when learning) |
Example |
<dificultad>Nativo</dificultad> |