Name of API: De-scrabble 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 service provides different series of words which comply with patterns determined by letters, the number of letters and the positions of the letters. Type of Method: Get Version: 1.0.0 http://store.apicultur.com/api/encaja/1.0.0 https://store.apicultur.com/api/encaja/1.0.0 Last Updated: October 2012 Example of Entry https://store.apicultur.com/api/encaja/1.0.0/{atril}/{encajar}/{tablero}
https://store.apicultur.com/api/encaja/1.0.0/ds/true/_o_ Example of Results <descrabelBean> <palabraDescrabel> <palabra>dos</palabra> <valor>4</valor> </palabraDescrabel> </descrabelBean>
Entry Parameters
There are three entry parameters: the first indicates which letters to combine; the second establishes whether they are going to agree with the pattern (true) or if they are just going to combine (false); the third, if the letters fit the pattern (true), will mark the positions of the letters which agree with an underscore ‘_’, as well as the letters that correspond to the positions we are interested in: Parameter 1
Name | Texto |
Type | String |
Description | The letters that we want to combine |
Example | ds |
Parameter 2
Name | encajar |
Type | booleano |
Description | This indicates if the letters are going to fit, or if they are only going to combine |
Values | true=fit; false=combine |
Example | true |
Parameter 3
Noun | posiciones de letras |
Type | String |
Description | The positions of the letters we want to encase |
Values | Use letters for the fixed positions and an underscore (_) for the variable positions |
Example | _o_ In this example we would be looking for a word with three letters, with the first and last position being variable and the letter in the middle being fixed (the letter ‘o’). |
Deciding on which letters to combine: ‘ds’ and the pattern ‘_o_’ (the pattern selected in this case is a word containing 3 letters with a variable first position (_), a fixed second position (using the letter ‘o’) and a variable third position (_), which in this example will result in the word ‘dos’.
Results
The result is the command <descrabelBean> that is formed by <palabraDescrabel>
Name | <palabraDescrabel> |
Type | Object |
Description | This outcome contains the proposed word that is determined by the previous characteristics outlined by the parameter |
Example |
<palabraDescrabel>
<palabra>dos</palabra>
<valor>4</valor>
</palabraDescrabel>
|
The command <palabraDescrabel> is formed by:
Name | <palabra> |
Type | String |
Description | The proposed word that is determined by the previous characteristics outlined by the parameter |
Example | <palabra>dos</palabra> |
Name | <valor> |
Type | Integer |
Description | The corresponding punctuation for each word |
Example | <valor>4</valor> |