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

Most Popular Drivers Dowload List 1 for Windows 10/8/7/XP

ralink-rt2561-drivers-win8.1 airlive-wl-1600usb-drivers-win8.1 pinnacle-710-usb-drivers-win8.1 asrock-g41m-vs3-drivers-win8.1 asrock-alivenf6g-vsta-drivers-win7 asrock-g31m-s-drivers-win8.1 tp-link-tl-wn551g-drivers-win8.1 videohome-grabbeex-deluxe-drivers-win8.1 sharp-al-2040-drivers-win8.1 tp-link-tl-wn651g-drivers-win7 airlive-wt-2000pci-drivers-win8.1 asus-p5kpl-am-ps-drivers-win8.1 umax-as6000-drivers-win7-64bit asrock-conroe1333-d667-drivers-win7-64bit asrock-g31m-vs2-drivers-win8.1 asrock-wolfdale1333-d667-drivers-win7-64bit speed-link-sl-6693-sbk-a-drivers-win7-64bit videohome-grabbeex-deluxe-drivers-win7-64bit asrock-g31m-vs-drivers-win8.1 asrock-g41c-gs-drivers-win8.1 level-one-wnc-0305usb-drivers-win8.1 a4tech-pk-336mb-drivers-win7-64bit airlive-wl-8000pci-drivers-win7-64bit aztech-wl630pci-drivers-win7-64bit benq-5150c-drivers-win7-64bit epson-fx-1170-drivers-win7-64bit DriversHome lexmark-z617-drivers msi-microstar-g41m-p26-drivers-win8.1 msi-m...

China WDMA ALUMINIUM SLIDING DOORS