Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API REGON for Java & Spring Boot

Read more about REGON API (BIR): https://api.stat.gov.pl/Home/RegonApi

This project provides:

  • Gradle task to create Java classes from SOAP 1.2 specification (run genJaxbStubs task)
  • Web client to download XML as String from REGON API
  • String XML to POJO converter

Classes in com.nexocode.bir.wsdl are generated by gradle, if you want, you can remove all package content and generate classes once again from scratches with genJaxbStubs task.

Client uses API Key for test environment. If you want to use production environment, just replace regon-api url with https://wyszukiwarkaregon.stat.gov.pl/wsBIR/UslugaBIRzewnPubl.svc and regon-api key in application.yml with your own key received from REGON API admins.

Notes

  • bir means: Baza Internetowa REGON 😅
  • JDK 11 is used in this project as default
  • Enable annotation processing in your IDE, since Lombok is used

Let's connect

About

REGON api client

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages