Get Word Count

GET: /tools/wordcount
Request params
Parameters Description
resources Comma delimited list of resource_uuid.
Response params
Parameters Description
wordcount Total words counted.
resources Array of results per resource :
Field Description
resource_uuid Unique resource id.
total Total resource word count.

Request Example

curl "https://www.onehourtranslation.com/api/2/tools/wordcount?secret_key=<SECRET_KEY>&public_key=<PUBLIC_KEY>&resources=rsc-527116d8f07a02-60735023,rsc-527106ac63a448-25531129"

Response Example

{
 "status":
  {
   "code":0,
   "msg":"ok"
  },
 "results":
  {
   "resources":
    [
     {
      "resource":"rsc-527116d8f07a02-60735023",
      "wordcount":10
     },
     {
      "resource":"rsc-527106ac63a448-25531129"
      ,"wordcount":4
     }
    ],
   "total":
    {
     "wordcount":14
    }
   },
 "errors":[]
}