Coverage of Python Library (for API tests)

Hello everyone,

I am currently developing API tests in Robot Framework. For this I have written a Python library in which each method represents an API route. I would like to find out the coverage of these methods so that I know how well I have covered all API routes. Is this even possible?
I am also open to better/alternative suggestions.

Many thanks in advance

Leon

I just found a solution for my problem using Python coverage.
It was described on StackOverflow: unit testing - How to properly use coverage.py in Python? - Stack Overflow
Now I can analyze which routes are missing in the coverage report:
image