NAV Gujaratilexicon
Gujaratilexicon
bash javascript php

Info

Welcome to the generated API reference.

Dictionary

dictionary/e2g


Requires authentication

Example request:

curl -X GET \
    -G "apinew.gujaratilexicon.com/dictionary/e2g" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer {token}" \
    -d '{"query":"a.m.","type":"exact"}'
const url = new URL(
    "apinew.gujaratilexicon.com/dictionary/e2g"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "query": "a.m.",
    "type": "exact"
}

fetch(url, {
    method: "GET",
    headers: headers,
    body: body
})
    .then(response => response.json())
    .then(json => console.log(json));

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'apinew.gujaratilexicon.com/dictionary/e2g',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'query' => 'a.m.',
            'type' => 'exact',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "status": false,
    "message": "Word not Found",
    "suggestions": "અડંગો"
}

Example response (200):

{
    "status": true,
    "word": "a.m.",
    "additional_data": [
        {
            "pronunciation": "એ.એમ.",
            "type": "",
            "meaning": "મધ્યાહ્ન પૂર્વે, બપોર પહેલાં"
        },
        {
            "pronunciation": "",
            "type": "સંક્ષેપ",
            "meaning": "ante meridiem, મધ્યાહ્ન પૂર્વે"
        }
    ]
}

HTTP Request

GET dictionary/e2g

Body Parameters

Parameter Type Status Description
query string required The word to be search.
type string required The type of response required can be exact, like, phrases, similar.

dictionary/g2e


Requires authentication

Example request:

curl -X GET \
    -G "apinew.gujaratilexicon.com/dictionary/g2e" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer {token}" \
    -d '{"query":"\u0a85\u0aa1\u0a82\u0a97\u0acb","type":"exact"}'
const url = new URL(
    "apinew.gujaratilexicon.com/dictionary/g2e"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "query": "\u0a85\u0aa1\u0a82\u0a97\u0acb",
    "type": "exact"
}

fetch(url, {
    method: "GET",
    headers: headers,
    body: body
})
    .then(response => response.json())
    .then(json => console.log(json));

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'apinew.gujaratilexicon.com/dictionary/g2e',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'query' => 'અડંગો',
            'type' => 'exact',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "status": false,
    "message": "Word not Found",
    "suggestions": "અડંગો"
}

Example response (200):

{
    "status": true,
    "word": "અડંગો",
    "additional_data": [
        {
            "pronunciation": "",
            "type": "m.",
            "meaning": "<p>a trick in wrestling; long and continuous stay, esp. unwelcome.<\/p>\n"
        }
    ]
}

HTTP Request

GET dictionary/g2e

Body Parameters

Parameter Type Status Description
query string required The word to be search.
type string required The type of response required can be exact, like, phrases, similar.

dictionary/h2g


Requires authentication

Example request:

curl -X GET \
    -G "apinew.gujaratilexicon.com/dictionary/h2g" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer {token}" \
    -d '{"query":"(\u0905\u092a\u0928\u0940) \u092e\u094c\u0924 \u092e\u0930\u0928\u093e","type":"exact"}'
const url = new URL(
    "apinew.gujaratilexicon.com/dictionary/h2g"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "query": "(\u0905\u092a\u0928\u0940) \u092e\u094c\u0924 \u092e\u0930\u0928\u093e",
    "type": "exact"
}

fetch(url, {
    method: "GET",
    headers: headers,
    body: body
})
    .then(response => response.json())
    .then(json => console.log(json));

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'apinew.gujaratilexicon.com/dictionary/h2g',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'query' => '(अपनी) मौत मरना',
            'type' => 'exact',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "status": false,
    "message": "Word not Found",
    "suggestions": "અડંગો"
}

Example response (200):

{
    "status": true,
    "word": "(अपनी) मौत मरना",
    "additional_data": [
        {
            "vyutpatti": "",
            "type": "રૂ.પ્ર.",
            "meaning": "મોતે મરવું; સ્વાભાવિક મરણ થવું "
        }
    ]
}

HTTP Request

GET dictionary/h2g

Body Parameters

Parameter Type Status Description
query string required The word to be search.
type string required The type of response required can be exact, like, phrases, similar.

dictionary/m2g


Requires authentication

Example request:

curl -X GET \
    -G "apinew.gujaratilexicon.com/dictionary/m2g" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer {token}" \
    -d '{"query":"\u0935\u0915\u0942\u092c","type":"exact"}'
const url = new URL(
    "apinew.gujaratilexicon.com/dictionary/m2g"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "query": "\u0935\u0915\u0942\u092c",
    "type": "exact"
}

fetch(url, {
    method: "GET",
    headers: headers,
    body: body
})
    .then(response => response.json())
    .then(json => console.log(json));

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'apinew.gujaratilexicon.com/dictionary/m2g',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'query' => 'वकूब',
            'type' => 'exact',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "status": false,
    "message": "Word not Found",
    "suggestions": "वकूब"
}

Example response (200):

{
    "status": true,
    "word": "वकूब",
    "additional_data": [
        {
            "vyutpatti": "[અ.]",
            "type": "પું.",
            "meaning": "વકૂફ, અક્કલ (સ્ત્રી.) ડહાપણ (ન.) (2) કૌવત (ન.) તાકાત, ઓખાત, અવકાત (સ્ત્રી.)"
        }
    ]
}

HTTP Request

GET dictionary/m2g

Body Parameters

Parameter Type Status Description
query string required The word to be search.
type string required The type of response required can be exact, like, phrases, similar.

dictionary/g2g


Requires authentication

Example request:

curl -X GET \
    -G "apinew.gujaratilexicon.com/dictionary/g2g" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer {token}" \
    -d '{"query":"\u0a85","type":"exact"}'
const url = new URL(
    "apinew.gujaratilexicon.com/dictionary/g2g"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer {token}",
};

let body = {
    "query": "\u0a85",
    "type": "exact"
}

fetch(url, {
    method: "GET",
    headers: headers,
    body: body
})
    .then(response => response.json())
    .then(json => console.log(json));

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'apinew.gujaratilexicon.com/dictionary/g2g',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
        'json' => [
            'query' => 'અ',
            'type' => 'exact',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "status": false,
    "message": "Word not Found",
    "suggestions": "તારોડિયું"
}

Example response (200):

{
    "status": true,
    "word": "અ",
    "gl": false,
    "sarth": {
        "additional_data": [
            {
                "type": "પુંo",
                "vyutpatti": "",
                "meaning": "\"સંસ્કૃત કુટુંબની ગુજરાતી વર્ણમાળાનો પહેલો સ્વર (2) વિષ્ણુ"
            }
        ]
    },
    "bg": false
}

HTTP Request

GET dictionary/g2g

Body Parameters

Parameter Type Status Description
query string required The word to be search.
type string required The type of response required can be exact, like, phrases, similar.

Word Of Day

word-of-day/{date?}


Requires authentication

Example request:

curl -X GET \
    -G "apinew.gujaratilexicon.com/word-of-day/yyyy-mm-dd" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer {token}"
const url = new URL(
    "apinew.gujaratilexicon.com/word-of-day/yyyy-mm-dd"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers: headers,
})
    .then(response => response.json())
    .then(json => console.log(json));

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'apinew.gujaratilexicon.com/word-of-day/yyyy-mm-dd',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "status": false
}

Example response (200):

{
    "status": true,
    "url": "http:\/\/beta2.gujaratilexicon.com\/content\/uploads\/2019\/07\/1535173532-STBAtkVu.jpg?quality=100"
}

HTTP Request

GET word-of-day/{date?}

URL Parameters

Parameter Status Description
date optional string optional The date for which you need word of the day (yyyy-mm-dd) format.

general

status

Example request:

curl -X GET \
    -G "apinew.gujaratilexicon.com/status" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer {token}"
const url = new URL(
    "apinew.gujaratilexicon.com/status"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer {token}",
};

fetch(url, {
    method: "GET",
    headers: headers,
})
    .then(response => response.json())
    .then(json => console.log(json));

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'apinew.gujaratilexicon.com/status',
    [
        'headers' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
            'Authorization' => 'Bearer {token}',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

{
    "status": true
}

HTTP Request

GET status