Skip to content

max-planck-innovation-competition/go-epo-eps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GO EPO-EPS

Go Report Card Go Reference

Go API Client for the European Publication Server Web Service

The European Publication Server's REST API enables access to XML, HTML, TIFF images, and PDF/A versions of European A and B publications.

Status

Alpha Version

⚠️ Experimental - Not ready for production.

Installation

Add the package to your project via the following command:

go get github.com/max-planck-innovation-competition/go-epo-eps

Usage

The following function calls can be used to retrieve the publication dates, the patent ids and the patent data.

Get publication dates

import eps
dates, err := eps.GetPublicationDates()

Get patents ids of a publication dates

import eps
patentIds, err := eps.GetPublicationDatePatents(date)

Get patent by id

import eps
patentXMLData, err := eps.GetPatentXML(patentID)
patentHTMLData, err := eps.GetPatentHTML(patentID)
patentZIPData, err := eps.GetPatentZIP(patentID)
patentPDFData, err := eps.GetPatentPDF(patentID)

Transform xml data to golang struct

import eps
epPatentDocumentSimple, err := eps.ProcessXMLSimple(patentXMLData)

Environment

PROXY=http...
HTTP_PROXY=http...

About

Retrieve the latest patents as HTML, XML, PDF, ZIP from the EPO

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages