How to get next funding rate & time ?

Hi i’m trying to create a bot with python and i’d like to know if there’s a fonction to get the next funding rate & time for a ticker ?
I’ve seen but seems like it’s the 100 last fundings.
Also how can i convert the funding time in an actual time ?

Read this pls -
Next funding rate can only be predicted no certain answer until the settle time

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)