lnbits-legend/lnbits/extensions/example
2023-01-10 14:29:05 +00:00
..
static Adds websocket and qrcode examples to example extension 2023-01-10 14:26:10 +00:00
templates/example format 2023-01-10 14:29:05 +00:00
__init__.py Included currency conversion 2023-01-06 15:28:32 +00:00
config.json Its alive! 2023-01-06 10:57:15 +00:00
crud.py Included currency conversion 2023-01-06 15:28:32 +00:00
migrations.py Added tabs 2023-01-06 14:28:43 +00: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
tasks.py Included currency conversion 2023-01-06 15:28:32 +00:00
views_api.py Included currency conversion 2023-01-06 15:28:32 +00:00
views.py removing type: ignore from Query, Depends, Body and import them correctly 2023-01-02 11:56:28 +01: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"