Below are a few scripts I have written to use with the RHN Satellite
api-scripts