Using SetGetGo’s Meaningful Random Word Generator API

setgetgo APIs that let you generate a meaningful random word. To use it in PHP just add a line of code


If you want to trim the word and remove any spaces then add the following too

$str=str_replace(" ","",trim($str));

Here’s a sample code to generate a random word using PHP

function RandomWord() {
    var requestStr = "";

        type: "GET",
        url: requestStr,
        dataType: "jsonp",
        jsonpCallback: 'RandomWordComplete'

function RandomWordComplete(data) {

This content has been helpful to you?

Thanks for contributing!

Yes No