mirror of
https://github.com/ThunixdotNet/thunix_api.git
synced 2026-06-27 12:09:23 +00:00
Refractor thunix_api to use flask_rest package
This commit is contained in:
11
endpoints/home.py
Normal file
11
endpoints/home.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from flask_restful import Resource
|
||||
|
||||
class Home(Resource):
|
||||
def get(self):
|
||||
payload = [
|
||||
{
|
||||
"Description": "The Thunix API. Please see https://wiki.thunix.net/wiki/api for more information."
|
||||
}
|
||||
]
|
||||
|
||||
return payload
|
||||
Reference in New Issue
Block a user