https://www.yr.no/nb/oversikt/dag/2-2618425/Danmark/Region Hovedstaden/København/København

So I guess your id would be 2-2618425.

Or else go to this page and search for your location. The location id will be in the url.

:-)