How to Control TripMode with an AppleScript

I want to control TripMode with an AppleScript. I’ve confirmed that Trip Mode supports AppleScript. (It has a dictionary in Script Editor.) However, I can’t find any examples or documentation online.

I want to activate TripMode using a specific profile. Does anyone know how to do this?

Thanks! That was very helpful. Here’s the final code I came up with.

--This script functions as a toggle. If TripMode filtering is on (enabled), we want to turn it off (disabled). Conversely, if it’s off, we want to turn it on and use the Streaming profile.

set myProfile to "Streaming" --> define the myProfile variable with name of profile

tell application "TripMode"
    if get filter status is enabled then --> If TripMode is enabled, then
	    set filter status to disabled --> disable TripMode.
    else --> else If TripMode is disabled, then
	    set theProfiles to its available profiles --> get all profiles names
	    set profileType to manu --> set the profile type to maual
	    if myProfile is in theProfiles then --> do a check. If myProfile is in the list of profiles
		    set profile to myProfile --> then set the profile to myProfile
	    else --> else display an error message
		display dialog "The " & myProfile & " profile does not exist."
	    end if
	set filter status to enabled --> enable TripMode,
    end if
end tell