We have a server, SERVER1, we can perform a lot of actions on it using REST API's. My preference language is Python. How do we go about it? We do not want to write sequential, if else and loop to perform everything in one go? where i can find, how to define classes and how do we group api into specfic methods etc.. I am looking for an example how to design it? Any ref to books or videos will be very helpful
What we have done till now. Define a class, that contains to wrappers for rest api, define an other class where we call the required method based on conditions we read from a user input file?
Is this the right way? or do we have a better way?
Aucun commentaire:
Enregistrer un commentaire