use requests library for view quieries