This information can be obtained using the Google Geocoding API.
It looks something like this (use Web API component and parse JSON-response):
Geocoding and reverse geocoding documentation.