Skip to content

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GO Bulk Data Sets

Go API Client for the European Patent Office Bulk Data Sets and DocDB Data.

Status

Alpha Version

⚠️ Experimental - Not ready for production.

Author

Sebastian Erhardt

DocDB

The structs for the DocDB data are generated from the xsd files provided by the EPO.

The xgen library was used to generate the structs.

xgen -i /path/to/your/xsd -o /path/to/your/output -l Go

Environment Variables

EPO_USERNAME=XYZ
EPO_PASSWORD=XXXXXX

Installation

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

Usage

There are separate packages for the bulk data service and the DocDB data.

With the bulk data service package, you can download the data from the EPO. Among other digital data sets, the EPO provides the DocDB data.

With the DocDB package, you can process the DocDB data.

Bulk Data Service

To interact with the bulk data service, you can use the epo_bdds package.

package main
import (
	"github.com/max-planck-innovation-competition/go-epo-bdds/pkg/epo_bdds"
)

func main() {
    // Get the authorization token
    token, err := epo_bdds.GetAuthorizationToken()
	if err != nil {
        log.Fatal(err)
    }
	// get the products 
    products, err := epo_bdds.GetProducts(token)
	...
}

DocDB

The epo_docdb package provides the code to process the EPO DocDB data. It can be used to ingest the data into any database or any file format.

See the DocDB README for more information.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages