Help with an calling api in javascript to my input


I have an HTML page with input on it. When I write in the input, I need to call REST Web Service API in Javascript, so when you write the city it will be autocomplete

<input id="toAmount" type="text" />

This is API I’m gonna use

I would really appreciate it if someone could help me.

To use that API, it looks like you’ll need to be developing in Node. Not really that easy.

Wes Bos has an easy-to-follow tutorial in vanilla js that does the same thing.