cycles nodest set up for the world ?

did not find any examples on how to set up world nodes set up

it would be nice to have an example on how to set up this

thanks

you find the icons to switch to material/world node-editing on the nodes-window bottom bar

i want an example of a script to do that for cycles!

i know how to do it for material
but not for adding a world set up !

thanks