- Define a normal python class.
- Use @api.post() or @api.get() to tag a method as API method.
- Ensure every API method has type hint for both arguments and return value.
- Create an APIClient instance.
- Use its post() or get() method to send the request.
8000