Site address

I’m trying to lookup the primary address based on a site ID. InventSite has the ID but how do I map to the primary address for each site?