Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sujith3g/epo-ops

Espacenet Open Patent Service API OPS v.3.1 wraper
https://github.com/sujith3g/epo-ops

Last synced: 6 days ago
JSON representation

Espacenet Open Patent Service API OPS v.3.1 wraper

Awesome Lists containing this project

README

        

epo
----------

[Espacenet](http://worldwide.espacenet.com/?locale=en_EP) Open Patent Service API [OPS v.3.1](https://developers.epo.org/?) wraper.

[![Download count](https://img.shields.io/npm/dt/epo.svg?style=flat)](https://www.npmjs.org/package/epo) [![ghit.me](https://ghit.me/badge.svg?repo=sujith3g/epo-ops)](https://ghit.me/repo/sujith3g/epo-ops)

For detailed documentation [see here](https://github.com/sujith3g/epo-ops/blob/master/doc.md).

### Basic usage

```javascript
var epo = require('epo');
var myEpo = new epo();
myEpo.register({
ref_type: "publication",
format: "epodoc",
input: "EP1122334"
},function(epo_data){
console.log(JSON.parse(epo_data));
});
/// for registered users
var myEpo = new epo({
clientID: 'your-id',
clientSecret: 'your-secret'
});
myEpo.generate_token(function() {
myEpo.register({
ref_type: "publication",
format: "epodoc",
input: "EP1122334"
},function(epo_data){
console.log(JSON.parse(epo_data));
});
this.register_search({
cql: "ti%3Dplastic",
range_begin: 1,
range_end: 30
}, function(epo_data) {
console.log(epo_data);
});
});

```