Mikrotik API bash add ip to address list help.

Hello guys, hope you are doing well.

I am new to Mikrotik, so a little help will be greatly apreciated.

I want to connect to a Mikrotik Router via a bash script, and add an ip address from a variable to an address list.
What is the best way to achieve this, and how?

Thanks in advance