Category : google-apis-explorer

I am using below code for getting list of products from Google Shopping content API. $products = $service->products->listProducts($merchantId, array(‘pageToken’ => $nextPageToken, ‘maxResults’ => 250)); Above code is listing all products. But I want to get the products only which has "availability" => "in stock" Can I you the filters in listProducts function or any other ..

Read more

I am using below code for getting list of products from Google Shopping content API. $products = $service->products->listProducts($merchantId, array(‘pageToken’ => $nextPageToken, ‘maxResults’ => 100)); I am getting 100 products for each API request because of ‘maxResults’ => 100 But I want to know the maximum limit of "maxResults" Parameter. I checked the below link for ..

Read more

I would like to be able to setup google calendar push notifications in my local. Google calendar documentation requires domain registration https://developers.google.com/calendar/v3/push#registering-your-domain. I would like to know if there is any workaround to make this work in the local environment using a virtual host accessible only in my local machine. If that’s impossible I would ..

Read more

I did not understand how to implement what is given here https://developers.google.com/admin-sdk/directory/v1/guides/manage-users#create_user. Kindly help me with this. I need to implement this urgently. I tried creating google account for user through postman in the following ways but couldn’t succeed. Used method POST and API URL https://www.googleapis.com/admin/directory/v1/users In Authorization selected type OAuth 2.0 and Add authorization ..

Read more

I am trying to create a project in the Google console cloud using the PHP client library. I copied this sample code from https://cloud.google.com/resource-manager/reference/rest/v1/projects/create#php Steps taken/ Got the issue: This line " $requestBody = new Google_Service_CloudResourceManager_Project(); ". Throwing error : ‘Class Google_Service_CloudResourceManager_Project not found’. Then I checked in the "Try this API" menu, we can ..

Read more