Skip to main content
07399 456 959 [email protected]

Product Specifications Object
Last updated: January 05 2022 11:19 PM

We supply a default set of specifications for each product in the product specification object.

optional attributes in the product specification object may be not returned, so please check for their existance.

Product Specification Object

Attribute Type Description
specs array[object] An array containing product specifications.
specs.os
optional
string The operating system of the product

E.g. Apple iOS 11
specs.familyOs
optional
string The family operating system of the product

E.g. Apple iOS
specs.weight
optional
string The weight of the product in grammes

E.g. 148g
specs.size
optional
string The size on the product in millimeters

E.g. 138.4 x 67.3 x 7.3mm
specs.height
optional
string The height on the product in millimeters

E.g. 138.4mm
specs.width
optional
string The width on the product in millimeters

E.g. 67.3mm
specs.depth
optional
specs.string The depth on the product in millimeters

E.g. 7.3mm
specs.screenSize
optional
string The screen size of the product in inches

E.g. 4.7 inches
specs.screenPixelDensity
optional
string The screen pixel density of the product in ppi density

E.g. 326 ppi density
specs.screenResolution
optional
string The screen resolution of the product in pixels

E.g. 750 x 1334 pixels
specs.simType
optional
string The type os sim card the product uses

E.g. Nano SIM
specs.displayType
optional
string The display type of the product

E.g. LED-backlit IPS LCD, capacitive touchscreen, 16M colours
specs.handsetStyle
optional
string The style of the product

.g. Touchscreen
specs.cameraFront
optional
string The size of the primary camera in mega pixesl

E.g. 13MP
specs.cameraBack
optional
string The size of the secondary camera in mega pixesl

E.g. 5MP
specs.cameraFlash
optional
string The type of flash the camera uses

E.g. quad-LED (dual tone) flash
specs.batteryType
optional
string The type of battery the product uses

E.g. Non-removable Li-Ion battery
specs.chipset
optional
string The chipset the product uses

E.g. Apple A11 Bionic
specs.cpu
optional
string The Central Processing Unit (CPU) or processor of the product

E.g. Hexa-core
specs.nfc
optional
string The Near-field communication (NFC) of the product

E.g. Yes - Apple Pay Only
specs.sensors
optional
string The different types of sensors the product has

E.g. Fingerprint (front-mounted), accelerometer, gyro, proximity, compass, barometer
specs.fmRadio
optional
string Does the product have an FM Radio

Yes or No will be returned
specs.4g
optional
string Can the product use 4g bandwidth

Yes or No will be returned

Product Expand Specifications Request Example

GET
https://api.uconvert.co.uk/deals/v1/products/?expand=products(specs)
{
  "products" : [
    {
      "id": "1044",
      "name": "Apple iPhone 6 16GB Space Grey",
      "slug": "apple-iphone-6-16gb-space-grey",
      "specs": {
        "os": "IOS 8.1",
        "familyOs": "Apple iOS",
        "weight": "129g",
        "size": "138 x 67 x 7mm",
        "height": "138mm",
        "width": "67mm",
        "depth": "7mm",
        "screenSize": "5 inches",
        "screenPixelDensity": "326 ppi density",
        "screenResolution": "1334 x 750 pixels",
        "simType": "Nano SIM",
        "displayType": "LED-backlit IPS LCD",
        "handsetStyle": "Touchscreen",
        "cameraFront": "8MP",
        "cameraBack": "1.2MP",
        "cameraFlash": "Dual-LED (dual tone) flash",
        "batteryType": "Non-removable Li-Po",
        "batteryCapacity": "1810mAh",
        "chipset": "Apple A8",
        "gpu": "PowerVR GX6450",
        "cpu": "Dual-core 1.4 GHz Typhoon (ARM v8-based)",
        "nfc": "Yes (Apple Pay only)",
        "sensors": "Fingerprint, accelerometer, gyro, proximity, compass, barometer",
        "fmRadio": "No",
        "4g": "Yes"
      }
    }
  ]
}
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.uconvert.co.uk/deals/v1/products/?expand=products(specs)",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => array(
    "x-api-key: 123456"
  ),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
curl --request GET \
  --url 'https://api.uconvert.co.uk/deals/v1/products/?expand=products(specs)' \
  --header 'x-api-key: 123456'
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://api.uconvert.co.uk/deals/v1/products/?expand=products(specs)",
  "method": "GET",
  "headers": {
    "x-api-key": "123456"
  }
}

$.ajax(settings).done(function (response) {
  console.log(response);
});
require 'uri'
require 'net/http'

url = URI("https://api.uconvert.co.uk/deals/v1/products/?expand=products(specs)")

http = Net::HTTP.new(url.host, url.port)

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '123456'

response = http.request(request)
puts response.read_body