openpotato / openholidaysapi.data

Raw data for the OpenHolidays API project
https://www.openholidaysapi.org
Open Data Commons Open Database License v1.0
26 stars 16 forks source link

How are Ids built? #19

Closed Connum closed 10 months ago

Connum commented 10 months ago

I might be interested in adding data for more European countries, like Italy which is missing right now. How are the unique ids being generated? Is this done by scripts or should one generate them manually and check that they are unique? That seems a bit like a hassle...

fstueber commented 10 months ago

That would be great. Please ask if you have more questions or need help. Concerning id generation: Those ids are GUIDs, which can be easily generated by online tools like Free Online GUID Generator.

48design commented 10 months ago

It's very unusual that there would be a collision, but is there any mechanism in place yet to make sure of that?

fstueber commented 10 months ago

IF there was a collision, this would immediately lead to an error when importing the data into the backend database.

48design commented 10 months ago

Alright, I don't need the IDs for my use case anyway. :) The issue can be closed!