JGA25‐371 DC motor encoder wiring

Hi, I have this JGA25‐371 Geared Motor with Encoder:
DC motor

Where can I find the wiring or pinout?

Is there a standard color scheme for these kind of motors?

Do I need a pullup resistor for the encoder?

Also, I would appreciate basic data as approximate counts per revolution etc.

I think I found the information. The pinout is located inside the plastic protection cage, covering the motor end. The counts per revolution is labeled outside, so 360 CPR?

The answer is found here. The motor label says YFRobot, so I googled and found all the motor info needed:

YF Robot site