Plugins

Within the SynackAPI, various "Plugins" exist to allow us to easily separate functions based on their purpose.

Function Naming Convension

Similar to PowerShell, functions within this package will begin with a verb. This is a list of approved verbs and their meaning.

VerbDescription
addInsert/Update item(s) in the Database
buildChange data/items in some way
findQuery the Database
getRetrieve Data from the Synack API or Local Files
removeDelete item(s) from the Database
setPush changes to the Synack API or Local Files

Additionally, function names should not be redundant. In other words, consider the function name missions.get_missions(). missions is specified twice, when missions.get() is just as clear. missions.get() is the optimal choice.