diff --git a/etl/hubspot_verification_to_db_load.py b/etl/hubspot_verification_to_db_load.py new file mode 100644 index 0000000..bb42922 --- /dev/null +++ b/etl/hubspot_verification_to_db_load.py @@ -0,0 +1,18 @@ +import os +import pprint +from etl.hubSpotClient.hubspot import DealStage + +# Local development, comment this out to be production +os.environ["DATABASE_URL"] = "postgresql://postgres:makingwarmhomes@db:5432/postgres" + +from etl.db.hubSpotLoad import HubspotTodb + + +hubspotClient = HubspotTodb() +deals = hubspotClient.get_deals_from_deal_stage(DealStage.SURVEYED_COMPLETE_NEEDS_SIGN_OFF) +pprint(deals) + + + + +