Sort methods
This commit is contained in:
parent
0163edc868
commit
393e4ac90e
@ -109,16 +109,18 @@ class ApiServer(RPC):
|
|||||||
app.add_url_rule('/reload_conf', 'reload_conf', view_func=self._reload_conf,
|
app.add_url_rule('/reload_conf', 'reload_conf', view_func=self._reload_conf,
|
||||||
methods=['POST'])
|
methods=['POST'])
|
||||||
# Info commands
|
# Info commands
|
||||||
app.add_url_rule('/version', 'version', view_func=self._version, methods=['GET'])
|
app.add_url_rule('/balance', 'balance', view_func=self._balance, methods=['GET'])
|
||||||
app.add_url_rule('/count', 'count', view_func=self._count, methods=['GET'])
|
app.add_url_rule('/count', 'count', view_func=self._count, methods=['GET'])
|
||||||
app.add_url_rule('/daily', 'daily', view_func=self._daily, methods=['GET'])
|
app.add_url_rule('/daily', 'daily', view_func=self._daily, methods=['GET'])
|
||||||
app.add_url_rule('/profit', 'profit', view_func=self._profit, methods=['GET'])
|
app.add_url_rule('/profit', 'profit', view_func=self._profit, methods=['GET'])
|
||||||
app.add_url_rule('/status', 'status', view_func=self._status, methods=['GET'])
|
app.add_url_rule('/status', 'status', view_func=self._status, methods=['GET'])
|
||||||
app.add_url_rule('/balance', 'balance', view_func=self._balance, methods=['GET'])
|
app.add_url_rule('/version', 'version', view_func=self._version, methods=['GET'])
|
||||||
app.add_url_rule('/whitelist', 'whitelist', view_func=self._whitelist,
|
|
||||||
methods=['GET'])
|
# Combined actions and infos
|
||||||
app.add_url_rule('/blacklist', 'blacklist', view_func=self._blacklist,
|
app.add_url_rule('/blacklist', 'blacklist', view_func=self._blacklist,
|
||||||
methods=['GET', 'POST'])
|
methods=['GET', 'POST'])
|
||||||
|
app.add_url_rule('/whitelist', 'whitelist', view_func=self._whitelist,
|
||||||
|
methods=['GET'])
|
||||||
# TODO: Implement the following
|
# TODO: Implement the following
|
||||||
# performance
|
# performance
|
||||||
# forcebuy
|
# forcebuy
|
||||||
|
Loading…
Reference in New Issue
Block a user