lnbits-legend/lnbits/extensions/example
calle b622028f7d
Merge pull request #1271 from lnbits/fix/mypy/ignores
removing type: ignore from Query, Depends, Body and import them correctly
2023-01-04 09:19:06 +01: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 initial 2022-12-31 01:46:55 +00: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 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"