-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python packaging fails / PHP implementation desirable #29
Comments
@wq9578 if you're interested, i have a working prototype implementation for the "api" using laravel dusk within laravel zero as a cli application to interact with the handelsregister website.
|
@amacado Yes, I'm interested! Where can I get it? |
@wq9578 sure, have a look here and feel free to contribute. It's in early implementation state and not yet fully functional: https://github.com/amacado/handelsregister-cli |
On a current Mac,
poetry
installed via Homebrew fails:A PHP implementation would be desirable to obtain structured information (SI) as well as the current (AD) and chronological excerpt (CD) for a given legal entity.
With the Laravel framework, either Laravel's HTTP client powered by Guzzle might be used, or Laravel Dusk using a Selenium compatible driver if JavaScript is required. Unfortunately, this seems to be the case.
Both a request with
curl
(curl -d "registerArt_input=VR" -d "registerNummer=304" -d "registergericht_input=D2601" https://www.handelsregister.de/rp_web/erweitertesuche.xhtml
) as well as a request with Laravel's HTTP client (obtaining the cookie in a first request, then reusing this cookie requesting the extended search form) fails with the error message "session expired".Test using PHP Pest:
It's a shame that the German federal services don't offer a proper API.
Also, a rate limit of 60 requests per hour is ridiculous for publicly available data.
The text was updated successfully, but these errors were encountered: