https://github.com/biwin/search-console
A Python Programmable interface to manage search engine consoles.
https://github.com/biwin/search-console
google-search-console webmaster-tools
Last synced: 3 months ago
JSON representation
A Python Programmable interface to manage search engine consoles.
- Host: GitHub
- URL: https://github.com/biwin/search-console
- Owner: biwin
- License: other
- Created: 2017-11-05T16:31:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-03T19:16:12.000Z (almost 7 years ago)
- Last Synced: 2025-02-13T14:41:17.065Z (3 months ago)
- Topics: google-search-console, webmaster-tools
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# Search Console
A Python Programmable interface to manage search engine consoles.## Installation
pip install search-console
## Documentation
Follow the documentation for respective search engines.
* google : https://developers.google.com/webmaster-tools/search-console-api-original/v3/
### Google Search Console / Google Webmaster Tools
#### Initialization
from search_console import GoogleSearchConsole
search = GoogleSearchConsole(api_key='API_KEY', access_token='ACCESS_TOKEN')
#### Usage
| Parameter | Documented as | Example |
|---|---|---|
| `site_url` | `siteUrl` | `https://www.example.com/` |
| `feed_path`| `feedPath` | `https://www.example.com/sitemap.xml` |
| `url` | `url` | `https://www.example.com/pagename` |Allowed methods.
search.add_site(site_url)
search.delete_site(site_url)
search.get_site(site_url)
search.list_site(self)
search.delete_sitemap(site_url, feed_path)
search.get_sitemap(site_url, feed_path)
search.list_sitemap(site_url)
search.submit_sitemap(site_url, feed_path)
search.url_crawl_error_count(site_url, **kwargs)
search.get_url_crawl_error_samples(site_url, url, **kwargs)
search.list_url_crawl_error_sample(site_url, **kwargs)
search.mark_url_crawl_errors_as_fixed(site_url, url, **kwargs)## License
This package is released under **GNU GPLV3**## Terms of Use
* **Google Search Console**
By using Google Search Console, you agree to the terms and conditions of the following licence(s):
* [Google APIs Terms of Service](https://console.developers.google.com/tos?id=universal)