handelsregister's People
Forkers
pjullrich andreasfischer1985 nilsreichardt alper hendersonjs4 joergbeyer p-w phil0x1 knabe-s sepppenner mbuergler g0rdonx siddeyg sazirarrwth99 nanachimi sarah-ulshoefer ajiepangestu bigclickcom kmoegle innokentyb alexander-zierhut berlinpartnerproject irfold argenetz angrymonkey1 403access lloesche hraffnalukka jaschn12 mortazz karlklammer92handelsregister's Issues
Add LICENSE file?
Guten Tag, Wie lautet die Open-Source-Lizenz für diesen Programmcode?
Usage Question
Sorry for the question in advance - I am very new to coding and GitHub.
Is your API already available and working and if so, how can I use it?
Thanks in advance!
EGVP <-> DE-Mail Gateway
Ich vermute in diesem Repository soll es vor allem um die Abfrage von Daten aus dem Handelsregister gehen. Für Gründer und kleine Firmen ist aber auch das Gegenstück, nämlich die Eintragung/Hinterlegung interessant.
In der Praxis wird mindestens durch einige Registergerichte gern behauptet, dass dafür ein Notar beauftragt werden müsse. Aus zwei Gründen:
- Nur dem Notar stünde die Hinterlegung frei.
- Nur Notare und Anwälte hätten die technischen Voraussetzungen für eine elektronische Übermittlung an die Registergerichte, weil nur diese über einen Zugang zur elektronischen Gerichtspost (EGVP) verfügen würden. (Gerichte nehmen grundsätzlich keine Papierpost mehr an.)
Die Beauftragung eines Notars ist natürlich mit entsprechenden Kosten verbunden. Daher ist es gut zu wissen, dass:
- nicht alle Dokumente durch einen Notar beurkundet werden müssen. Beispielweise können Gesellschafterlisten unter bestimmten Umständen auch allein durch den Geschäftsführer hinterlegt werden. Dieser hat ja auch die Pflicht diese aktuell zu halten. Es besteht also ein Interesse solche Aktualisierungen selbst durchzuführen.
- es ein DE-Mail <-> EGVP Gateway gibt, welches Absender authentifizierte DE-Mails an die EGVP Postfächer der Registergerichte zustellen kann. Dafür benötigt man lediglich ein DE-Mail Konto.
Die Herleitung der DE-Mail Adresse des Registergerichts aus der EGVP ID ist hier beschrieben. Mittlerweile sind auch einige DE-Mail Adressen von Registergerichten direkt im DE-Mail Verzeichnisdienst eingetragen.
Auf diesem Wege habe ich bei zwei Registergerichten erfolgreich Gesellschafterlisten hinterlegt. Allerdings bekam ich dann durchaus auch verwunderte Anrufe, in denen mir eröffnet wurde, dass ich "in 15 Jahren" der einzige sei, der "auf diesem Wege etwas einreicht". Teilweise habe ich hier heftige Gegenrede erfahren, bis mir endlich ein kompetenter Rechtspfleger bestätigte, dass dies theoretisch der einzig gangbare Weg ist, der auch vom Gesetzgeber so gewollt sei.
Das EGVP <-> DE-Mail Gateway ist nicht wirklich eine API aber ggf. trotzdem eine Einrichtung, deren Dokumentation sich lohnt. Es ist für mich eine Frage des Prinzips: Ich muss als Geschäftsführer etwas aktuell halten und darf dafür keinen einfachen Papierbrief benutzen? Dann gebt mir die entsprechenden Mittel in die Hand. Ich konnte jedoch keine Dokumentation von öffentlicher Stelle finden. Faktisch nutzt heute jeder einen Notar dafür oder bettelt bei Gericht als Härtefall in Papierform einreichen zu dürfen. Mich würde es freuen, wenn es andere Gründer demnächst leichter hätten und auf eine kleine Doku zugreifen könnten.
Index out of range
bei der Suche nach "Aachener Bank eG" kommt ein index out of range error.
Getestet im CLI-Tool (python handelsregister.py -s "Aachener Bank eG" -so all
) als auch über API-Abfrage in-code (HandelsRegister(debug=False, force=False, schlagwoerter='Aachener Bank eG', schlagwortOptionen='all')
).
Traceback (most recent call last):
File "/home/NAME/Code/PROJEKTNAME/handelsregister/handelsregister.py", line 185, in <module>
companies = h.search_company()
File "/home/NAME/Code/PROJEKTNAME/handelsregister/handelsregister.py", line 95, in search_company
return get_companies_in_searchresults(html)
File "/home/NAME/Code/PROJEKTNAME/handelsregister/handelsregister.py", line 136, in get_companies_in_searchresults
d = parse_result(result)
File "/home/NAME/Code/PROJEKTNAME/handelsregister/handelsregister.py", line 114, in parse_result
d['history'].append((cells[i], cells[i+1])) # (name, location)
IndexError: list index out of range
Kostenfreie abfragen ab 01.08.2022
As per their website:
With the coming into effect of the Law on the Implementation of the Digitalization Guidelines (DiRUG) on 01.08.2022, access to all register content in the trade, cooperative, association and partnership register as well as to any electronically available documets through the Common Register Portal of federal states is provided free of charge starting from 01.08.2022. After that date, no registration and no log-in is required any more.
Do they offer an API description? 😅
Leaking von privaten Informationen
Hat das schon jemand auf dem Schirm:
https://www.heise.de/news/Digitalisierung-Handelsregister-de-verraet-private-Daten-7202516.html
Ist das wirklich ein Thema im endgültigen Datensatz oder wird dieser keine Dokumente und ggf damit auch keine der hier angesprochenen personenbezogenen Daten enthalten?
transparenzregister
Sorry, I didn't want to open this issue. But since I cannot delete it anymore I can at least write my thoughts:
Thank you for your work. I'm especially interested in APIs for the Handelsregister and the Transparenzregister. Up to now one has to use incomplete and outdated data from https://opencorporates.com/ or pay money for https://www.northdata.de/ . This is so annoying. In our society we have "gläserne Bürger", but data about companies is absolutely intransparent. Just to figure out who your landlord is, can take months of research (see e.g. https://www.rosalux.de/dossiers/wohnen-ist-ein-menschenrecht/wem-gehoert-die-stadt ). So count this ticket as a vote for developing an API for the Handelsregister and the Transparenzregister.
Request for Enhancements: Real-time Data and "Aktuellen Abdruck" Support
Subject: Request for Enhancements: Real-time Data and "Aktuellen Abdruck" SupportHello,
I have recently developed a custom scraper for the Handelsregister and have come across your API. It appears to be a promising tool that could potentially streamline my operations. However, I have a couple of queries and potential enhancement requests that I would like to discuss.
-
Real-time Data: For my use case, it is crucial to have access to the most recent data. I would like to know if your API provides real-time or near real-time updates from the Handelsregister.
-
"Aktuellen Abdruck" Support: In addition to the data, I also require the "Aktuellen Abdruck", a PDF document that can be downloaded from the respective website. I noticed that the current version of your API does not seem to support this feature. I would like to inquire if there are any plans to incorporate this functionality in the future, or if there are any workarounds available at the moment.
In summary, my questions are:
- Does your API provide the most up-to-date data from the Handelsregister?
- Is it possible to obtain the "Aktuellen Abdruck" using your API?
I look forward to your response and appreciate your assistance in this matter.
Accessing and downloading (xml, pdf ) files from handelsregister API
Hi @wirthual ,
I am trying the following workflow
-
Using the advanced search query : https://www.handelsregister.de/rp_web/erweitertesuche.xhtml i do the following
a) Choose Federal States - Berlin / Bavaria
b) Company / search words - "Hallo"
c) Choose the option "contain all words"
d ) Type of registar "HRA"
e ) And choose 100 hits per list . -
This will give us a search list as shown in the screen shot
-
I want to then downlaod SI or DK content of all the hits .
I am wondering if that is possible or not ?
Screenshot :
Please let me know what could be the best way forward
Bugfix: Catch IndexError on search results
There exist search results where the logic to collect 'history'
does not apply and fails with an IndexError
. A first and simple approach to this issue is to continue
on IndexError
and ignore corrupted information of entries.
Change the following lines in handelsregister.py
...
113 for i in range(hist_start, len(cells), 3):
114 d['history'].append((cells[i], cells[i+1])) # (name, location)
...to:
113 for i in range(hist_start, len(cells), 3):
114 try:
115 d['history'].append((cells[i], cells[i+1])) # (name, location)
116 except IndexError: # there might be entries where this logic does not apply
117 continue
Alternatively the author(s) should have another look at the results and the parsing.
Sanitize Company Names to Prevent Issues with Dangerous Characters in Local Cache Storage
Summary:
The Handelsregister Python SDK is instrumental in fetching and caching HTML pages from the Handelsregister. Currently, the process involves storing retrieved HTML pages in a local cache without sanitizing company names. This practice could lead to potential issues, as company names with slashes ("/"), backslashes (""), or other dangerous characters might cause file path traversal problems or other unintended behavior when used as filenames or identifiers in the cache.
Issue Description:
When company names contain filesystem or URL special characters (e.g., "/", "", "?", "%", "*", ":", "|", """, "<", ">", ".", "&", "$"), it poses a risk for file storage and retrieval operations within the local cache mechanism. Specifically, characters like slashes can be interpreted by the operating system as directory separators, leading to attempts to access unintended directories or the creation of files in unexpected locations.
Potential Impact:
Security Risks: Unsanitized input might lead to directory traversal vulnerabilities, allowing malicious users to access or manipulate files outside the intended cache directory.
Functionality Issues: Special characters in company names could lead to errors in file operations, such as saving or retrieving cached pages, especially if the characters are not valid for filenames in the operating system.
Steps to Reproduce:
Use the SDK to fetch data for a company with special characters in its name (e.g., "Test/Company").
Observe the behavior of the caching mechanism when attempting to store or retrieve the HTML page associated with this company name.
Suggested Fix:
Implement a sanitization function that either removes or replaces special characters in company names before using them in file paths or filenames. This function should be applied to company names as soon as they are retrieved and before any caching operations are performed. Additionally, consider a consistent scheme for character replacement to ensure that the sanitized names remain unique and recognizable.
Environment:
Python Version: 3.12.2
SDK Version: 1ef5e1e
Operating System: macOS Sonoma 14.4.1 / Ubuntu Linux 24.04
Usage of API
What are the terms of using this API? Am I allowed to distribute the data to customers?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.