Skip to main content

China Trademark Database Search API via CPTMA.COM

CPTMA.COM Official Free China Trademarks Database Search API v1.0

这个项目是 https://CPTMA.com 官方免费中国商标数据库查询API,采用PHP语言,提交查询关键词,返回近似商标查询结果。 查询结果以JSON格式输出。

This project is https://CPTMA.com official free Chinese trademark database search API, using PHP language. Apps submit search a keyword, and the server return similar trademarks query results according to China Trademarks Office Database. The query results are output in JSON format.

Get API Source Code from Github Here.
https://github.com/AbbyChiang/CPTMA.COM/


/**
* Configure tmsearch object
* Copyright http://cptma.com
* By Ray
*/
$tmsearch_obj_config = array
(
'name' => array
(
'required' => false,
'prefix' => '[Applicant Name]'
),
'reg_no' => array
(
'required' => false,
'prefix' => '[Registration Number]'
),
/**
* Configure keyword field
* The prefix is prepended to the inputting keyword
*/
'keyword' => array
(
'visible' => true,
'required' => true,
'prefix' => '[Keyword Search]'
),

/**
* Configure ReCaptcha protection
* Requires an API v2 key pair to function
*
* @see https://developers.google.com/recaptcha
*/
'recaptcha' => array
(
'site_key' => '',
'secret_key' => ''
),

/**
* Configure labels and messages
* Can be used to customize or translate items
*/
'translate' => array
(
'labels' => array
(
'name' => 'Applicant Name',
'keyword' => 'Keyword',
'reg_no' => 'Registration Number',
'recaptcha' => 'ReCaptcha'
),
'errors' => array
(
'code' => '0',
'required' => '%s is required',
'invalid' => '%s is invalid'
),
'messages' => array
(
'error' => 'We have encountered an unknown error, please try again.',
'success' => 'The retrieval was successful and the result will be sent to your mailbox shortly.'
)
)
);

/**
* Load tmsearch class and its dependencies
* Create new class object with given configuration
*/
require __DIR__ . DIRECTORY_SEPARATOR . 'php' . DIRECTORY_SEPARATOR . 'tmsearch-obj.php';
$tmsearch_obj = new TMSearch_Obj($tmsearch_obj_config);

?>
<?php

Comments

Popular posts from this blog

Foshan Nanhai Prettywood Co., Ltd. - 25 year doors

via IFTTT

任志强:房子越贵的地方,越需要租房子。

任志强:什么情况下才会租房子? 一定是这个城市,有大量的外来人口的时候,才需要租房。 如果这个城市是大量人口都走了,那房子都空着,你租什么租啊? 所以租售并举啊,在中国,大概不超过15到20个城市,需要大量租房。 其他城市啊,有那么一点点就够了。他们觉得对市场没有什么影响。 房子越便宜的地方,越不需要租房。 因为还没租两天呢,那房子的钱够买房子了,我租它干什么呀?我直接买不就行了吗? 房子越贵的地方,越需要租房子。 原文

Hridoy Ahmed on LinkedIn: Tips to Getting Custom Energy Efficient Windows

  Finding the right windows can be overwhelming. You have to be sure you are going with the right option. There are so many casing options that vary in advantages, quality, solidity, and the capacity to protect your home. How can you choose? Here are the best tips to be confident in purchasing great custom windows in   WDMA . Aluminum windows are a solid choice. Wooden windows can look great but provide only limited protection.PVC windows, similar to Sunrise windows, offer protection if treated correctly. However, if they don’t have the right treatment, they’re almost worthless. Dawn Windows are made using a high-quality PVC, offering a great deal of protection. The polyurethane protection safeguards the home from the elements. You can paint this material, too. Style options are endless. Low-E refers to the unique covering that reflects infrared light, keeping the heat inside your home in the winter. In the summer, the protection repels ...