How to receive real-time data from Garmin vivoactive4?

Hello everyone, I can receive data by exporting or converting fit files to csv files. But for my project I need to real time data taken from garmin vivoactive4. For example, I want to instantly transfer the heart rate or respiration rate to a web interface.What should I do, is this posssible? Could you show me a way to do it?