mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-19 18:11:30 +01:00
09871bbabc
* explicitly exclude all extensions from mypy * fix example extension mypy * fix subdomains extension mypy + 1 type error fixed * fix mypy discordbot * mypy check copilot extensnion * copilot black * add invoices ext to ignore * add boltz and boltcard * copilit id is necessary * was discordbot is ok Co-authored-by: dni <dni.khr@gmail.com> |
||
---|---|---|
.. | ||
templates/example | ||
__init__.py | ||
example.config.json | ||
migrations.py | ||
models.py | ||
README.md | ||
views_api.py | ||
views.py |
Example Extension
*tagline*
This is an example extension to help you organise and build you own.Try to include an image
If your extension has API endpoints, include useful ones here
curl -H "Content-type: application/json" -X POST https://YOUR-LNBITS/YOUR-EXTENSION/api/v1/EXAMPLE -d '{"amount":"100","memo":"example"}' -H "X-Api-Key: YOUR_WALLET-ADMIN/INVOICE-KEY"