How to use a encoder motor FAULHABER

I have a problem with this motor, I need read the position and turn with the encoder but I dont know what type of code I need use for obtain this information. I need help!!!!

There exists a datasheet for the DC-motor, gearbox? and encoder.
The hints are hidden is that document...