Taxmod Mouser
Taxonomy Modeller Api module for Mouser
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/sfambach/wp_tax_api_mouser/archive/refs/heads/main.zipMouser connection for the Taxonomy Modeller (WordPress plugin).
Status 0.1.0 (needs modeller 0.1.81 and Taxmod Mail 0.6.0 or later):
- Mail: reads order confirmations, shipment notices and cancellations from the mailbox of Taxmod Mail and hands them to the modeller's inbox.
- Search API (D-1027 E6): with the API key from My Mouser › APIs (tab «Mouser», stored encrypted in the modeller's vault,
or
TAXMOUSER_API_KEYin wp-config.php) the purchasing page «Einkauf» of Taxmod Stock 0.4.2+ shows Mouser offers per position — Mouser number, maker, stock, the price of the break the quantity reaches — through the filtertaxmod_supplier_offers. A search is kept for an hour. The tab has a test search. - Not yet: cart and order history (same key, waiting for Mouser to unlock them).
Every shop connection is a module of its own, whether it reads mails or an API; Taxmod Mail only fetches and files the mails (D-1006, concept). The reader moved here from Taxmod Mail unchanged.
Setup
- Install and set up Taxmod Mail (mailbox access).
- Activate this module. Taxonomy Modeller → Configuration → Mouser shows under «Mail» which mails it reads.
- For the search, enter the API key under «API» there and try the test search.
Development
composer install, then vendor/bin/phpunit (core suite, no WordPress). The sample mails in tests/Core/fixtures
are synthetic.
License
Copyright (C) 2026 Stefan Fambach (SteFam), https://www.fambach.net — PolyForm Noncommercial 1.0.0. Commercial use needs the owner's prior consent.
Authors
- Stefan Fambach (SteFam) – idea and concept, review and testing – https://www.fambach.net
- Claude (Anthropic AI) – implementation, via Claude Code
AI disclosure
This project is built with AI assistance. Stefan Fambach had the idea, wrote the concept and reviews and tests every change; the implementation (code and documentation) is written largely by Claude (Anthropic) via Claude Code.