Hello there!
I took a deep look into Fembed API and creating such a script in python is child's play, a simple API call does the whole job, I can discuss more details with you once you contact me.
Looking forward to hearing from you soon,
Abderrahmane H.