Skip to main content

Python 3 API Client for Polish REGON database

Project description

RegonAPI

Python 3 API Client for Polish REGON database

GitHub


Table of Contents


Usage example

from RegonAPI import RegonAPI

# Regon API - WSDL file
WSDL = "https://wyszukiwarkaregontest.stat.gov.pl/wsBIR/wsdl/UslugaBIRzewnPubl.xsd"
# Regon API - Service URL
SERVICE_URL = "https://wyszukiwarkaregontest.stat.gov.pl/wsBIR/UslugaBIRzewnPubl.svc"
# Regon API - test key
API_KEY = "abcde12345abcde12345"

api = RegonAPI(wsdl=WSDL, service_url=SERVICE_URL)
api.authenticate(key=API_KEY)

print("Data status:", api.get_data_status())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

RegonAPI-1.0.0.tar.gz (12.0 kB view hashes)

Uploaded Source

Built Distribution

RegonAPI-1.0.0-py3-none-any.whl (19.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page