Thank you for your response. I am using Woocommerce REST API with PHP to fetch the data.
Basically the data I want to get are Product Descriptions.
I’m using the following PHP wrapper to perform this action: automattic/woocommerce
Also, i am using the basic Woocommerce documentation: GitHub
GitHub-2
First of all, I get the products with the following code.
$page = 1;
$products = [];
$all_products = []
do{
try {
$products = $wc->get('products',array('per_page' => 100, 'page' => $page));
}catch(HttpClientException $e){
die("Can't get products: $e");
}
$all_products = array_merge($all_products,$products);
$page++;
} while (count($products) > 0);
Then I get the product descriptions by doing the simple or variable control. I’m trying to get around 500 product information.
I don’t quite understand what you’re talking about as a limitation. In a global and well-known company, i am currently using a shared server.
- 1 vCPU
- 2GB Memory
- 25GB SSD
- 2TB Transfer
Also, there are no outstanding server graphics during this process. Also on the local side, memory, timeout etc. I made the necessary php settings for it. I also performed API transactions from other sites that did not use Woocommerce before. However, I have not encountered such a situation. So I don’t see a problem on the local side.
-
This reply was modified 2 years, 6 months ago by loopforever.
-
This reply was modified 2 years, 6 months ago by loopforever.