Unfortunetly we don’t provide many Server Side Scripting examples. But, @zerox12 below created a Github repo to collect them! So if you create some, please do post there…or, you may find something similar to what you are looking for.
Thanks,
Alex
@DFCommunityManager