def register(view):  
meta = view.get_admin_meta()<EOL>prefix = meta.basename.replace("<STR_LIT:.>", "<STR_LIT:/>")<EOL>router.register(prefix, view, meta.basename)<EOL>
Register the API view class in the bananas router.

:param BananasAPI view: