Progress on CurveMapping Widget in Python API?

I saw this post from a couple of years ago, I was wondering if there was any update on exposing the widget to the python API. No worries if not as the creation of a material and stealing its curve seems to be a contained solution. I would just like to know if there is a more official way to do it yet as I’m going to be using a curve to generate keyframes.