node-trademark

1.0.2 • Public • Published

node-trademark

API wrapper for getting trademark information from http://www.markerapi.com

Build Status

Install

  $ npm install node-trademark

Node/OS Target

This repo is supposed to run fine on all major OS platforms and targets Node.js >=7.0

Quick Start

You will need to sign up on http://www.markerapi.com and use credentials in the form of a set of username and password. You can get these from your markerapi profile.

const markerApi = require('node-trademark')
markerApi.init({
    username: ''
    password: ''
})

API

You now have the ability to search trademark against a string.

markerApi
    .getTrademark(searchQuery /* 'Microsoft' */)
    .then(function (res) {
        /**
         *  Example JSON Response
         *
         *  {
         *    "count":1,
         *    "trademarks":[{
         *        "serialnumber":"73236080",
         *       "wordmark":"MICROSOFT",
         *        "code":"GS0091",
         *       "description":"Computer Programs",
         *       "registrationdate":"07\/06\/1982"
         *     }]
         *  }
         */
    })
    .catch(function (err) {
        /**
         * Handle error
         */
    })

Development

Test

  npm test

Issues

Please mention node and npm version while creating an issue.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i node-trademark

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • tushki