hall sensors, how would I program it?

I recently bought a dc motor with a hall sensor encoder on it . I have searched many tutorials but still do not know how to program it to spin 360 degrees with a button. I am using this dc motor with encoder attached http://www.jayconsystems.com/metal-gearmotor-37dx57l-mm-with-64-cpr-encoder-100-1.html. The motor encoder specifications are in the PDF file. I will use a 12volt 300 ma power source for the motor. I am using an arduino uno for this project. What would I have to write to have the motor turn 360 degrees?

Motor Encoder.pdf (311 KB)

The answer depends very strongly on the motor, the hall sensor, the motor power supply and the motor driver.

jremington:
The answer depends very strongly on the motor, the hall sensor, the motor power supply and the motor driver.

The type of motor is in the link Store | Jaycon Systems and am using an arduino uno with this project and a 12 volt 300ma plug in the wall power source to power the dc motor. Do I need a motor controller for this task?