Hi Nedy,
I suggest the you start with some python learning labs for Python
Cisco DevNet Learning Labs Python
Then take a look at NETCONF and RESTCONF to see what works best for you and the Cisco gear you want to get information from
Cisco DevNet Learning Labs NETCONF/RESTCONF
Hope that helps you get started.
Regards,
John