Making Trades on Pancakeswap v2

Job ID: 36090192

Budget: $80 – $150 USD

I need a simple script written in Ruby, which will be run from terminal (ruby script.rb), which will check token BUSD price and Sell or Buy tokens with BUSD and BNB. I assume the following functions (swapETHForExactTokens, swapExactETHForTokens) from documentation (https://docs.pancakeswap.finance/code/smart-contracts/pancakeswap-exchange/v2/router-v2) should be used based on whether selling or buying tokens. Looking for someone who already has experience with BSC network Pancakeswap or Uniswap and Ruby.