Open jgunstone opened 5 months ago
Maybe instead of getting the data from the xlsx files in data
, we query the BSDD API like above to define the UniclassTable
class.
E.g. for Pr
codes we use: https://api.bsdd.buildingsmart.org/api/Class/Search/v1?SearchText=Pr_&DictionaryUris=https%253A%252F%252Fidentifier.buildingsmart.org
This is not a priority though as we have just updated the xlsx tables from April's Uniclass release
and use the BSDD api direct to retrieve uniclass codes. (or could use the NBS one... but I think that needs access keys so gets a little complex...)
https://search.bsdd.buildingsmart.org/uri/nbs/uniclass2015/1
e.g.
https://api.bsdd.buildingsmart.org/api/Class/Search/v1?SearchText=Pr_&DictionaryUris=https%3A%2F%2Fidentifier.buildingsmart.org%2Furi%2Fnbs%2Funiclass2015%2F1
could further filter to include only these: