encoder with ls7366r

hi

I need a electrical connection drawing with "wheel -> Encoder -> LS7366R SPI-> ARDUINO". I will use it to measure the distance traveled very accurately.

Has anyone already done this?

thanks

Wiring diagram on this page Dual LS7366R Quadrature Encoder Buffer