title: Get Magento Shipping Quote/Rates List From External Code
body: <p>I have a bit of code that sits in a folder next to Magento. I'm pulling in <code>Mage.php</code> to do some stuff. I want to be able to grab some kind of shipping quote into my code. I have been looking around the web and I'm struggling to get anywhere sensible with it.</p>
  
  <p>Please can someone show me the most efficient way to achieve this?</p>
  
  <p>I only have this info available to pass in to get the rates:</p>
  
  <pre><code>Product ID eg, 123
  Quantity eg, 1020
  Country Code eg, GB
  Zip code if needed eg, SY12 6AX
  </code></pre>
  
  <p>And I want to get out the following info:</p>
  
  <pre><code>Rate eg, £2.50
  Title eg, Royal Mail Special Delivery
  ID eg, 6
  </code></pre>
  
  <p>I want then to populate a radio list with the options on my code so that they can be selected.</p>
  
  <p>Many thanks</p>