This script retrieves your first discovered systems from the EDSM API and optionally analyzes their traffic statistics. It supports caching, progress tracking, interval segmentation, and automatic resume.
π Windows users can download the prebuilt .exe from the Releases section.
- Create or log into your account on EDSM
- Go to: https://www.edsm.net/en/settings/api
- Copy:
Commander NameAPI Key
Requirements:
- Python 3.10+ (recommended 3.11 or newer)
- A free account on EDSM
1οΈβ£ Clone the repository
git clone https://github.com/Siegfried-Origin/EDSM-Discovery.git
cd EDSM-Discovery2οΈβ£ Create a virtual environment (recommended)
python -m venv venvActivate it:
Windows
venv\Scripts\activateMac/Linux
source venv/bin/activate3οΈβ£ Install dependencies
pip install -r requirements.txtpython edsm_discovery.pyTo generate a standalone Windows executable:
pip install pyinstaller
pyinstaller --onefile edsm_discovery.pyThe executable will be available in: dist/edsm_discovery.exe
On first execution, the script can generate a .env file automatically.
If needed, you can manually create a .env file in the project root:
COMMANDER=YourCommanderName
API_KEY=YourApiKeyHere
After execution, you may see:
.envβ your API credentials - DO NOT SHARE!discovery_cache.jsonβ cached discoveriesexport.csvβ final results
- Respect EDSM API rate limits.
- Do not share your API key publicly.
- Large date ranges may take time on first run.
If you like the project, feel free to β the repository!