How do i find an encoders datasheet

I recently acquired this little gem I would like to try and use it with my Leo board but I cannot find anything online except trying to sell me more by the thousand from Alibaba (they drive me nuts).
I am new to all of this but have had fair amount of success in my first few projects. Any help would be very much appreciated.

Image from Original Post so we don't have to download it. See this Simple Image Guide

...R

Your picture does not show the circuit board clearly, or the connections to it.

Perhaps it is just a simple IR beam-break optical detector (slotted optical switch) that can produce HIGHs and LOWs for an Arduino.

...R