title: Magetno REST API - get product list with pagination
body: <p>How to get product list with pagination using REST API ? I have following codes - </p>
  
  <pre><code>require_once '../app/Mage.php';
  Mage::app('default');
  
  $productCollection = Mage::getResourceModel('catalog/product');
  print_r($productCollection);
  </code></pre>
  
  <p>Output</p>
  
  <pre><code>[_data:protected] =&gt; Array
                  (
                      [entity_type_id] =&gt; 4
                      [entity_type_code] =&gt; catalog_product
                      [entity_model] =&gt; catalog/product
                      [attribute_model] =&gt; catalog/resource_eav_attribute
                      [entity_table] =&gt; catalog/product
                      [value_table_prefix] =&gt; 
                      [entity_id_field] =&gt; 
                      [is_data_sharing] =&gt; 1
                      [data_sharing_key] =&gt; default
                      [default_attribute_set_id] =&gt; 4
                      [increment_model] =&gt; 
                      [increment_per_store] =&gt; 0
                      [increment_pad_length] =&gt; 8
                      [increment_pad_char] =&gt; 0
                      [additional_attribute_table] =&gt; catalog/eav_attribute
                      [entity_attribute_collection] =&gt; catalog/product_attribute_collection
              )
  </code></pre>
  
  <p>Can anyone please help me.</p>
  
  <p><strong>Update</strong> as per your suggestion I have updated codes as - </p>
  
  <pre><code>require_once '../app/Mage.php';
  Mage::app('default');
  
  $pageSize = $_REQUEST['pagesize'];
  $pageNum = $_REQUEST['pagenum'];
  
  $productCollection = Mage::getModel('catalog/product')
              -&gt;getCollection()
              -&gt;setPageSize($pageSize)
              -&gt;setCurPage($pageNum )
              -&gt;addAttributeToSelect('*');
  
  print_r($productCollection-&gt;getData());
  </code></pre>
  
  <p>and the output is now - </p>
  
  <pre><code>[0] =&gt; Array
          (
              [entity_id] =&gt; 12
              [entity_type_id] =&gt; 4
              [attribute_set_id] =&gt; 4
              [type_id] =&gt; simple
              [sku] =&gt; 20707
              [has_options] =&gt; 1
              [required_options] =&gt; 1
              [created_at] =&gt; 2016-01-06 21:15:31
              [updated_at] =&gt; 2016-10-03 00:49:21
          )
  </code></pre>
  
  <p>But still not able to get product name , description , image etc. Is there any other thing I am missing ?</p>