Hiya! I’ve written a fairly comprehensive Python wrapper for the OneMap API!
Hope it helps anyone who needs it (:
You can find it here: https://github.com/methylDragon/one-map-api-client
It automatically refreshes tokens once you authenticate if it ever expires.