How to see "top searches" in Python API

from the web menu, i navigate to Search, Analytics, Searches to see my “Top Searches”.
how do i get to this same data using the Python API?

maybe use the Rest API instead of the Python API