libentry Define a Service Class 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. Access a Service Create an APIClient instance. Use its post() or get() method to send the request.