lnbits-legend/lnbits/extensions/example
dni ⚡ 09871bbabc
fix mypy for extensions (#873)
* 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>
2022-10-24 16:29:30 +02:00
..
templates/example Extension: add example extension (#644) 2022-06-01 13:53:47 +02:00
__init__.py black formating 2022-06-01 14:53:05 +02:00
example.config.json Extension: add example extension (#644) 2022-06-01 13:53:47 +02:00
migrations.py Extension: add example extension (#644) 2022-06-01 13:53:47 +02:00
models.py black formating 2022-06-01 14:53:05 +02:00
README.md Extension: add example extension (#644) 2022-06-01 13:53:47 +02:00
views_api.py black formating 2022-06-01 14:53:05 +02:00
views.py fix mypy for extensions (#873) 2022-10-24 16:29:30 +02:00

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"