i am using web Search Console API (Google WebMaster tools api) to query data , i am using the pyton implementation ,i need to use the java implementation instead , but i did not found any example in java using query.
this is the python code that i need to replace: pyton code :
request = {
'startDate': flags.start_date,
'endDate': flags.end_date,
'dimensions': ['date']
}
response = execute_request(service, flags.property_uri, request)
print_table(response['rows'], 'Available dates')
i found this java class com.google.api.services.webmasters.Webmasters.Searchanalytics.Query but i don't know how to use it, i did not found any examples of it
any help would be appreciated thank you in advance.
