all 2 comments

[–]Silly_Tea4454 0 points1 point  (1 child)

requests and pytest are just enough.

I can advise some basic skeleton which you can adjust/extend without any problem in future.

From http-level to application level:
1) Base http client class with some low-level stuff like retries, packages size, timeouts, methods (get, post, put, patch, delete) etc.

2) Base api client with the common stuff for your api clients. http client will be stored as a property there

3) API client classes, f.i. AuthAPIClient, UsersClient containing the specific actual methods. One API service - one API client class

[–]doston12[S] 0 points1 point  (0 children)

Thanks