Auto-populate US Zip Code (custom module) based on Address, City and State

Auto-populate US Zip Code (custom module) based on Address, City and State

Hi there,

I have found several topics on how to auto-populate address based on Zip Code but not the other way around.

I need a custom function to auto-populate a Zip Code field based on Address, City and, State fields in a custom module using Google Maps API. 

Thanks!