Fixed view assignment in tutorial

The variable api_root does not exist
Let's instead add it to the `from_snippets.view` import line.