mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 14:51:05 +01:00
15 lines
355 B
Python
15 lines
355 B
Python
# views_api.py is for you API endpoints that could be hit by another service
|
|
|
|
# add your dependencies here
|
|
|
|
import pyngrok
|
|
|
|
# import json
|
|
# import httpx
|
|
# (use httpx just like requests, except instead of response.ok there's only the
|
|
# response.is_error that is its inverse)
|
|
|
|
from quart import jsonify
|
|
from http import HTTPStatus
|
|
|
|
from . import ngrok_ext
|