
Script: Automatic price updates on GGSel.
Important notice
Any third-party trademarks, brand names, and product names referenced on this website are used solely to identify the relevant goods/services and, where applicable, to indicate intended purpose or compatibility. No affiliation, authorization, sponsorship, or endorsement by the trademark owners is implied unless expressly stated.
📌 What does the script do?
This ready-to-use script automatically recalculates and updates the base price of your GGSel offers based on a specific formula, factoring in the current Central Bank of Russia (CBR) USD exchange rate.
No more manual price recalculations whenever the exchange rate fluctuates—the script handles it all for you.
⚙️ How does it work?
It takes the base price in USD from the config (default: $20).
It retrieves the USD/RUB exchange rate from the Central Bank of Russia website (or uses a fixed rate from the config).
It applies markups:
fx_markup (1.04) — conversion fee/margin.
addon_rate_1 (0.1) — first additional markup.
addon_rate_2 (0.077) — second additional markup.
It calculates the final price in rubles using the formula:
text
($20 × rate × 1.04) + (that result × 0.1) + (that result × 0.077)
It updates the price of selected offers via the official GGSel API.
🎯 Who is this for?
Sellers with large inventories whose prices are pegged to the dollar.
Anyone looking to automate the routine task of updating prices.
Users who want a ready-made solution without having to deal with API complexities.
✅ Features
Base price only — the script does NOT touch additional options (add-ons); only the offer's main price is modified.
Flexible configuration — all coefficients and the base price are defined in a simple JSON config file.
Safety — includes a `dry_run` mode (test run without actual price changes) to verify results before applying them.
Partial list support — you can specify particular offer IDs or update all active offers.
Smart filtering — updates only offers with a specific status (e.g., only "active" ones). Logging — the script generates a detailed report: old/new prices, the number of updated offers, and any errors.
📦 What’s included?
The `ggsel_price_base.py` script (ready to run).
A `config.json` configuration file with detailed comments.
Brief instructions for installation and setup.
🖥️ Requirements
Python 3.6+
Installed libraries: `requests` (installed via a single command).
Internet access to fetch the Central Bank exchange rate.
🔧 Installation and setup
Download the archive containing the files.
Install dependencies: `pip install requests`.
Enter your `api_key` (from your GGSel seller dashboard) into `config.json`.
Adjust parameters as needed (base price, markups, list of offer IDs).
Run in "dry-run" mode: `python ggsel_price_base.py`.
If everything looks good, enable actual updates by setting `"update_prices": true` in the config.
❓ Why is this script a good investment?
Time savings — no need to open the dashboard and edit prices manually every time.
Accuracy — eliminates rounding errors or missed offers.
Up-to-date pricing — prices update automatically when exchange rates change.
Ready-made solution — no need to write code from scratch, figure out the GGSel API, handle network errors, etc.
🔒 Security and guarantees
The script uses only the official GGSel API.
No data is modified in "dry-run" mode — feel free to test it safely.
Open and transparent code — you can inspect it at any time.
💬 Support
I will answer all questions regarding installation and setup within 24 hours. Assistance with formula customization or integration is available upon request (discussed separately).
Price: 1,500 rubles (or the USD equivalent at the exchange rate at the time of purchase).
Payment — via card or bank transfer. After payment, you will receive an archive containing all the files and instructions.
✉️ To place an order or ask questions, please send a private message on GGSel.