Connecting to gitlab cloud and getting all project URLs in a group

Hi all,
I want to write a c++ program that can automatically handle my git repos. What I want to be able to do is get a list of all git projects with their respective URLs inside a private group folder. As it’s private i guess I will need to get the program to authenticate with the gitlab server using my details.
What is the best way to go about achieving this?
Thanks