-
Notifications
You must be signed in to change notification settings - Fork 67
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
Bundesanzeiger: query of a string starting with a number returns an error #108
Comments
Hi thank you for reporting. Do you get the same error if the string does not start with a number? |
If I assign a |
Interesting observation, good job! Do you have an idea where this could originate from? Here is a refactored version, might be worth to give it a shot if its working: #87 |
Hi ,there is there a change in output. I have been trying to run the API but i get the following output , by printing out the expected output |
Hi tim, regarding the keys in the dictionary, the output changed in a more recent version to use hashes instead of the names. This is due to multiple entries for a name. If you want to access the data you used to see in the previous version as key, you can simply access the data with: from deutschland.bundesanzeiger import Bundesanzeiger
ba = Bundesanzeiger()
data = ba.get_reports('dfki')
for hash in data.keys():
print(data[hash]["name"]) Which results in this example in:
You can see some entries names are duplicated which is why the change to another key was necessary. |
How to reproduce:
Expected result:
data
.What I got instead:
I tried other numerals and non-numerals with the described error pattern.
My env: Ubuntu 22.04, python 3.8.17
The text was updated successfully, but these errors were encountered: