@aske not much has changed. @menno has the shortest example, here is another (in Python, to show it works there too)
Here some more info in an older thread: