...
Once you've decided what you information you would like to get from the TSM API, you can use the TSM API Documentation to build your query.
Is there a limit to how often I can query the TSM API?
Each endpoint has their own daily limits described in the TSM API Documentation and there is a global maximum of 50 queries per hour.