I am in need of library that can read barcodes from usb connected barcode scanners. I have done my research but there happens to be one barcode api which was recommended which is <https://github.com/libusb/hidapi> hidapi but it happens to be written in C++ and I do not know how to use it.

**Any suggestion of alternatives to read barcodes from usb barcode scanners will be very well appreciated.**