I've got a collection of scripts over on GitHub that are written to be used with Jamf Pro in a variety of ways:
Leverage the Classic API to take actions on objects in Jamf Pro
I’ve also got a collection of scripts that leverage the Jamf Pro API, which is the newest API from Jamf
Deploy a script to a macOS computer to do some task
Run as an Extension Attribute to gather additional inventory data