lnbits-legend/lnbits/extensions/ngrok/views_api.py
2021-07-03 09:09:54 -04:00

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