The hydrometer method is a standard technique for directly measuring API gravity of petroleum and petroleum products. This method is based on the principle of buoyancy and utilizes a specially calibrated hydrometer to determine the API gravity of a liquid sample.