Search - Suggest

/search/suggest/{search_term}

Returns a list of strings matching the search_term.

Possible Methods

GET

Arguments 

search_term (required)
Text string to return matching entities for.  Does a "*search_term*" query against entities in infinit.e and returns a unique alphabetized list.

Json Object

N/A

 

Example
curl -b cookies.txt -X GET "http://nsight-api-1.rr.ikanow.com/nsight/search/suggest/oba" > response.txt
curl -b cookies.txt -X GET "http://nsight-api-1.rr.ikanow.com/nsight/search/suggest/white hou" > response.txt

 

Example Response

http://nsight-api-1.rr.ikanow.com/nsight/search/suggest/oba

 {
    "response": {
        "action": "SearchSuggest",
        "success": true,
        "message": "Call Completed",
        "time": 0
    },
    "data": {
        "suggestions": [
            "barack obama",
            "first lady michelle obama",
            "hail obama",
            "http://www.dailykos.com/story/2012/09/20/1134471/-obama-fights-to-retain-ndaa-power-to-detain-us-citizens-in-military-custody",
            "http://www.foxnews.com/politics/2012/10/27/obama-avoids-question-on-whether-americans-in-libya-were-denied-requests-for/",
            "lady michelle obama",
            "michelle obama",
            "obama",
            "obama administration",
            "obama pay price",
            "obama white house",
            "obama2012",
            "obamacare",
            "obamacare website woe",
            "olusegun obasanjo",
            "online obamacare trouble",
            "president barak obama",
            "president obama",
            "president obama boy"
        ]
    }
}