A simple Python package for SEO position tracking from Google and other search engines.
Project description
SEO Position Tracker 📡
A simple Python tool for SEO position tracking from Google and other search engines.
🔎 Current search engines support
- Google Search - looks for first 100 organic results.
- See what's coming next.
⚙️Installation
$ pip install seo-position-tracker
$ git clone https://github.com/dimitryzub/seo-position-tracking.git
🤹♂️Usage
Available CLI arugments:
$ python seo_position_tracker.py -h
SerpApi SEO position tracker.
optional arguments:
-h, --help show this help message and exit
--api-key API_KEY your SerpApi API key. For more: https://serpapi.com/manage-api-key
-se SE search engine. Currently only one can be passed. Default: Google
-po returns website position only.
-q Q search query. Default: "Coffee"
-tk TK target keyword to track. Default: "coffee". Currently only one can be passed.
-tw TW target website to track. Default: "starbucks.com". Currently only one can be passed.
-l L language of the search. Default: "en" - English. For more: https://serpapi.com/google-languages
-c C country of the search. Default: "us" - United States. For more: https://serpapi.com/google-countries
-loc LOC location of the search. Default: "United States". For more: https://serpapi.com/locations-api
--to-csv saves results in the current directory to csv.
--to-json saves results in the current directory to json.
Example:
$ python seo_position_tracker.py --api-key=<your_serpapi_api_key> \
> -q="minecraft buy" \
> -tk minecraft \
> -tw minecraft.net \
> -l en -c us
[
{
"position": 1,
"country_of_the_search": "us",
"title": "Get Minecraft: Gaming Platform Features",
"link": "https://www.minecraft.net/en-us/get-minecraft"
},
{
"position": 5,
"country_of_the_search": "us",
"title": "I Want to Buy Minecraft on a Non-Windows Device",
"link": "https://help.minecraft.net/hc/en-us/articles/6661712171405-I-Want-to-Buy-Minecraft-on-a-Non-Windows-Device"
}
]
Get position only
$ python seo_position_tracker.py --api-key=<your_serpapi_api_key> \
> -q="minecraft buy" \
> -tk minecraft \
> -tw minecraft.net \
> -l en -c us \
> -po
[1]
# or
[1, 5, ...]
💡Issues or suggestions
Visit issues page.
📜 Licence
SEO Position Tracker is released under the BSD-3-Clause Licence.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for seo-position-tracker-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77b0ad3bbea698a09952b0294792f7c2140ed418a4e2f4d6a2e60d56a4419c5d |
|
MD5 | 4e98a52f7c74e6b9e476365ebf193fa1 |
|
BLAKE2b-256 | 172ced5d43296b15db483679b694fb5b81ac6eac1dc7d816a2ca8280b1055369 |
Close
Hashes for seo_position_tracker-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9630ccb7143cb773c55d05a06543040dc3ab9ef2ea774ac7ec63c2255134e2c2 |
|
MD5 | c46f0e28baa7940841a8f188ba88a880 |
|
BLAKE2b-256 | 226e88a097a611249ee2d1aca6a92d3fdb748f0219d2e4eb4aa9b22894ef6ef1 |