I can find a lot of examples about tools for creating a sky using the User Interface (https://docs.blender.org/manual/en/latest/render/shader_nodes/textures/sky.html), but the same cannot be said for the Python API. The only examples I found use the obsolete
bpy.context.scene.world.use_sky_paper
Which does not exist anymore. Does anyone know how this can be replicated from Python?