rotten api fetch and views