Picnic interview question

Creating a test automation framework in java or python to automate some api tests.