Curl download zip extract large xml file

Hi i have a php script that works 100% however i don't want this to run on php because of server limits etc. Ideally if i could convert this simple php script to a shell script i can set it up to run on a cron. My mac server has curl on it. So i am assuming i should be using this to download the file. Here's the php code

    $url  = 'http://xmlfeed.laterooms.com/staticdata/hotels_standard.zip';
    $path = '../../data/hotels_standard.zip';
 
    $fp = fopen($path, 'w');
 
    $ch = curl_init($url);
    curl_setopt($ch, CURLOPT_FILE, $fp);
 
    $data = curl_exec($ch);
 
    curl_close($ch);
    fclose($fp);
    
    $zip = new ZipArchive;
    if ($zip->open('../../data/hotels_standard.zip') === TRUE)
    {
          $zip->extractTo('../../data/');
          $zip->close();
          
    }
    else
    {
          echo 'extration of file failed :(<br />';
    }

Can someone help me turn this in to a shell script.

I think wget and unzip are the only commands you really need for this to work

You can use following curl & unzip commands in your shell script -

curl -O HTTP_URL_FOR_ZIP_FILE
unzip ZIP_FILE_NAME -d EXTRACT_DIR

Oh thats easy thanks