With the Tableau Server REST API you can manage and change TS resources programmatically, using HTTP. The API gives you simple access to the functionality behind the data sources on TS. You can use this access to create your own custom applications or to script interactions with TS resources.
It looks like you are using Python, you can use the Tableau Server Client, a Python library for the TS REST API -> API reference
I hope it is helpful,
i made connection.. the views, i get only the name's of the views.. it's the same i get with the rest api with postman or connected to the PostgreSQL 8060 workgroup of Tableau..
I need to check the data in the extract of does views.. i just need about 10 rows of the top sorting on date-time value
The only way is to use views.populate_csv to populate the CSV data of the specified view.