Skip to main content

GUS REGON Internet Database Client

Project description

GUS (Główny Urząd Statystyczny) REGON Internet Database client which allows to get detailed information about company based on NIP, Regon or KRS number.

Quickstart

Install the package via pip:

pip install django-gusregon

Usage

from django import forms
from gusregon.gus import GUS

class MyForm(forms.Form):
    nip = forms.CharField()

...

form = MyForm(data=request.POST or None)
if form.is_valid():
    gus = GUS()
    company_details = gus.search(form.cleaned_data.get('nip'))

API

from gusregon.gus import GUS

gus = GUS()
gus.search(nip='..')
gus.search(krs='..')
gus.search(regon='..')

For more information, see GUS api class.

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

django-gusregon-0.0.2.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file django-gusregon-0.0.2.tar.gz.

File metadata

File hashes

Hashes for django-gusregon-0.0.2.tar.gz
Algorithm Hash digest
SHA256 cfa7b56f0c49a0d1ec1f63dc936da9ed74f9f40eb0f239125cff5829bcc43bbb
MD5 b72f59a224f44f992fc94005bae1d9e4
BLAKE2b-256 94e074be4595be4ea1be201b798bc16e8579e4028bf46dd7455404e6728cf187

See more details on using hashes here.

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