Change Adafruit_INA219 code to ACS712

I have a code that I want to use to calculate the energy gained from my solar panel, and I have a problem converting the three lines below:
shuntvoltage = ina219.getShuntVoltage_mV();
busvoltage = ina219.getBusVoltage_V();
current_mA = ina219.getCurrent_mA();

As ina219 is the name of the variable below:
Adafruit_INA219 ina219;

Sounds like you need to find an ACS712 library to use. Have you tried Google?