Skip to content

Instantly share code, notes, and snippets.

@dwisiswant0
Last active May 24, 2018 00:29
Show Gist options
  • Save dwisiswant0/1386dd4f92792d73e718c0c83da036ad to your computer and use it in GitHub Desktop.
Save dwisiswant0/1386dd4f92792d73e718c0c83da036ad to your computer and use it in GitHub Desktop.
rhymesFinder API

rhymesFinder API

To search for related rhymes of your selected language with vocabulary from your language.

  • Use GET http method.
Resource URL
Parameters
  • lang (required). Language. Currently available languages contain: Indonesian (id), Java (jv), Sundanese (su) & English (en).
  • rhyme (required). Rhyme. The last 1-5 or more letters you want to search.

Example

Request

$ curl -X GET "https://api.dw1.co/rhymes/find?lang=id&rhyme=cok"

Response (JSON)

If success:

{
  "status": true,
  "response": [
    "articok",
    "bacok",
    "bercekcok",
    "bercocok",
    "berpelocok",
    "bocok",
    "cecok",
    "cekcok",
    "cerocok",
    "cocok",
    "cok",
    ...
  ]
}

Else:

{
  "status": false,
  "error_message": "..."
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment