Espacenet Open Patent Service API OPS v.3.1 wraper.
For detailed documentation see here.
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);
});
});