<commit_before># Google APIs Client Library for PHP #

## Description ##
The Google API Client Library enables you to work with Google APIs such as Google+, Drive, or YouTube on your server.

## Requirements ##
* [PHP 5.2.1 or higher](http://www.php.net/)
* [PHP JSON extension](http://php.net/manual/en/book.json.php)

## Note ##
All the sample code in PHP FOR webmaster tool Api mention examples folder

## 3 Easy step of Installation ##
*[Step 1]()
  Download source code
*[step 2]()
  Open config.php and Enter client_id and client_secret 
  Example
      'oauth2_client_id' => '<Enter Client ID>',
      'oauth2_client_secret' => '<Enter Client Secret>'
*[step 3]()
  Open examples directory (Each file provied specified data as mention )
     searchanalytics.php
          Query your data with filters and parameters that you define. Returns zero or more rows grouped by the row keys that you define. You must define a date range of one or more days. When date is one of the group by values, any days without data are omitted from the result list. If you need to know which days have data, issue a broad date range query grouped by date for any metric, and see which day rows are returned.
     sites.php
          Lists the user's Search Console sites.
     sitemaps.php 
          Lists the sitemaps-entries submitted for this site, or included in the sitemap index file (if sitemapIndex is specified in the request).
     url_crawl_errors.php 
          Retrieves details about crawl errors for a site's sample URL.
     url_crawl_errors_samples
          Retrieves a time series of the number of URL crawl errors per error category and platform.
		<commit_msg>Read me<commit_after># Google APIs Client Library for PHP #

## Description ##
The Google API Client Library enables you to work with Google APIs such as Google+, Drive, or YouTube on your server.

## Requirements ##
* [PHP 5.2.1 or higher](http://www.php.net/)
* [PHP JSON extension](http://php.net/manual/en/book.json.php)

## Note ##
All the sample code in PHP FOR webmaster tool Api mention examples folder

## 3 Easy step of Installation ##
Step 1
Download source code
step 2
Open config.php and Enter client_id and client_secret 
Example
'oauth2_client_id' => '<Enter Client ID>',
'oauth2_client_secret' => '<Enter Client Secret>'
step 3
Open examples directory (Each file provied specified data as mention )
searchanalytics.php
Query your data with filters and parameters that you define. Returns zero or more rows grouped by the row keys that you define. You must define a date range of one or more days. When date is one of the group by values, any days without data are omitted from the result list. If you need to know which days have data, issue a broad date range query grouped by date for any metric, and see which day rows are returned.
-sites.php
Lists the user's Search Console sites.
-sitemaps.php 
Lists the sitemaps-entries submitted for this site, or included in the sitemap index file (if sitemapIndex is specified in the request).
-url_crawl_errors.php 
Retrieves details about crawl errors for a site's sample URL.
-url_crawl_errors_samples
Retrieves a time series of the number of URL crawl errors per error category and platform.
		
{'fraction_non_alphanumeric': 0.06412639405204461, 'fraction_numerical': 0.0055762081784386614, 'mean_word_length': 3.82660687593423, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2287680', 'n_tokens_mistral': 893, 'n_tokens_neox': 847, 'n_words': 461}