10 lines
271 B
Python
10 lines
271 B
Python
|
from . import Controller
|
||
|
from owrx.feature import FeatureDetector
|
||
|
import json
|
||
|
|
||
|
|
||
|
class ApiController(Controller):
|
||
|
def handle_request(self):
|
||
|
data = json.dumps(FeatureDetector().feature_report())
|
||
|
self.send_response(data, content_type="application/json")
|