Skip to content
Dmitry Chestnykh edited this page Feb 13, 2016 · 5 revisions

Send POST request to

https://iwl.me/api

with the following values:

  • text — text to analyze (must have at least 31 characters)
  • client_id — your unique client id (number)
  • permalink — client website/referrer URL

Server will respond with JSON.

Response example:

{
 "share_link": "http://iwl.me/s/cfe99843",
 "writer_link": "http://iwl.me/w/cfe99843",
 "writer": "Dan Brown",
 "id": "cfe99843",
 "badge_link": "http://iwl.me/b/cfe99843"
}

Error examples:

 {"error": "not enough arguments"}
{"error": "text is too short or doesn't have words"}

How to get client_id

Please ask on twitter @iwritelike or by email iwl@codingrobots.com.

Clone this wiki locally