How to get Chanukah lighting times via API?

Aron Adler 7 years ago updated 7 years ago 2

Firstly, I am a big fan of Hebcal, and have used it before in this website.

Now I'd like to use Hebcal to display Chanukah lighting times in another website. How could I get these times on a daily basis via JavaScript request? I don't want to display them in a calendar, I just need them in a string to be requested each day.