Ofiste bir API kullanıyoruz. API içerisinde 110.000 adet veri mevcut. Bu API'yi kullanarak ben her sorguda 10.000 adet çekebiliyorum. Bu limiti nasıl yükseltebilirim acaba?
Ben her sorguda tüm verilerin gelmesini istiyorum. Mevcut kullandığım kodu aşağıda paylaşıyorum. Yardımlarınız için şimdiden teşekkürler.
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'http://192.168.1.1/ws/servis.asmx',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<arama xmlns="http://tempuri.org/">
<firmakod>API kodum</firmakod>
<idno>0</idno>
<arama></arama>
</arama>
</soap:Body>
</soap:Envelope>',
CURLOPT_HTTPHEADER => array(
'Content-Type: text/xml'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;