Category API

Get Category

To better classify your translation needs and to provide industry specific expertise, your orders are organised into categories. An order may belong to any of the following categories: Legal/Patents, Art/Music, Business/Finance, Software / IT etc

To get a full list of available categories you need to call the category api as illustrated below:


Request Method  : GET 
ContentType : application/x-www-form-urlencoded
Requets Url : API_BASE_URL/API_VERSION/category/
Auth : Yes     

    

Here’s a PHP SDK for Get Category method:


require_once 'tbh-sdk/TbhClient.php';
$apiclient = new TbhClient(CLIENT_ID,CLIENT_SECRET,CLIENT_PUBLIC,ACCESS_TOKEN);
$source_data = $apiclient->GetCategory();
Auth : Yes     

    

Sample Output:


{
  "data": [
    {
      "id": "1",
      "name": "General Text "
    },
    {
      "id": "2",
      "name": "Websites / Mobile Apps"
    },
    {
      "id": "4",
      "name": "Software / IT"
    },
    {
      "id": "6",
      "name": "Travel / Tourism "
    },
    {
      "id": "7",
      "name": "Legal / Patents "
    },
    {
      "id": "8",
      "name": "Business / Forex / Finance "
    },
    {
      "id": "9",
      "name": "Marketing / PR / Media "
    },
    {
      "id": "10",
      "name": "Medical / Pharmaceutical "
    },
    {
      "id": "11",
      "name": "Art / Music "
    },
    {
      "id": "12",
      "name": "Gaming / Video Games "
    },
    {
      "id": "13",
      "name": "Technical / Engineering "
    }
  ],
  "message": "Success",
  "error_code": 0,
  "success": true
}

    
© 2019 Translate By Humans [Innovative Humans Limited]. All Rights Reserved.