Update Addons with both Blender 2.8 and 2.7 Support | Moo-Ack! Productions
An Introduction to Scripting - BlenderNation
scripting - Blender 2.8 How do I set object/collection active and apply my script for each of collection's objects in via python? - Blender Stack Exchange