refactored methods to be more consistent and reading from secrets.json for API keys
refactored methods to be more consistent and reading from secrets.json for API keys

pfjel7/housing-insights,codefordc/housing-insights,pfjel7/housing-insights