Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Multiple ways to achieve this. You can do a simple send_command in python using the netmiko library and ssh, then process the response in python data structures.