People sometimes ask me for a "good example of an API User Guide", aka "Cookbook". I believe Google tends to do a good job, for example they have a "User Guide" section in their docs: googleapis.dev/python/loggin…
This Python library, scrapli, that @carlrmontanari developed can help you connect network devices via SSH or Telnet. It supports the super-fast SSH2 protocol library, ssh2-python, along with text-fsm/ntc-templates and PyATS parsing. Check it out: ow.ly/U4OG50z4t1K