Anyway let me continue here -
No it's nothing like the above. Buddha says these beings are just like humans. They cannot forgive you for your sins nor can they send you to heaven/hell and buddha says these beings (devas) are not worth being worshipped.
That prayer you mentioned above sounds like guilt tripping and fear mongering. I have been bad, please help me.... end of days are coming, please help me come to heaven to be with you.... this is nothing like what buddhists (or hindus) do when they pray.
Let me repeat again buddha said no deva is worth being worshipped. But buddhists pray nevertheless. Remeber buddha hasnt banned you from doing anything. Your actions have consequences so think before you do. Praying/asking for help doesn't sound like something that will have bad consequences, therefore buddhists pray (not all, but some). It is not even a sin/bad karma to leave buddhism or question buddhism (kalama sutta).
When they pray it sounds much like what hindus say when they pray - i am in trouble (i am sick, my child is sick, i have an exam, i need a job, i need a wife) please help me. I promise to be good, better and start doing good deeds etc. It's more like asking a rich or powerful or influenzial person to help you.