Which framework can be use for ReST API

I want to use the OpenNMS ReST API through Python. Since I’m a beginner so I want to know which framework will be fine for me.
As per my understanding “to use the ReST API, there is no such framework” but to "develop any ReST API there will be a lot of frameworks such as Flask, Django. is it correct?

To use a rest api from python, you need to send http requests. A common way to do that is to use Requests.

If you prefer to use only the standard library, you can instead use urllib

If the API has an OpenAPI (aka Swagger) specification available, I’d recommend you to take a look at Pyotr client: https://pyotr.readthedocs.io/en/latest/