It will depend on what protocol is supported with the USB. Your E-bike should supply a manual that discusses this interface. (If they don't shame on them...)
You might be able to Google the E-bike's user's manual if you don't already have one. Without knowing how the E-bike presents data, we will have a hard time answering your question.