- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
01-29-2017 09:29 AM
What is the difference between API vs Python for scripting? Whats benefit of one over ther other Does anyone a actaull working pything script i can mimic? I have followed all instrcitions and cant seem to get python to work
01-29-2017 12:57 PM
The REST API makes web services requests to perform functions outlined in the API guide.
Think of python as an automated way to wrap normal CLI usage into the device. So your python scripts follow along what you would do manually if you logged into the device and follow entered the commands.
Have you seen this tool kit?
https://github.com/kevinsteves/pan-python
01-29-2017 12:57 PM
The REST API makes web services requests to perform functions outlined in the API guide.
Think of python as an automated way to wrap normal CLI usage into the device. So your python scripts follow along what you would do manually if you logged into the device and follow entered the commands.
Have you seen this tool kit?
https://github.com/kevinsteves/pan-python
01-29-2017 01:06 PM
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!