A reddit thread that goes over some ideas (use guidance from SM algorithms and create your own vs try to hook into a potential Supermemo API).