Skip to content

Commit

Permalink
API: ワイルドカード排除
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosugamea committed Apr 26, 2020
1 parent 448020c commit 57e2267
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"python.linting.pylintEnabled": true,
"python.linting.enabled": true
}
28 changes: 25 additions & 3 deletions app.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@
from flask import Flask
from flask_cors import CORS
from request_handler import *
from blueprints import *
from request_handler import (
app_before_request,
app_after_request,
app_teardown_appcontext,
app_index,
error_unauthorized,
error_not_found,
error_ratelimit,
error_server_bombed
)
from blueprints import (
accounts_api,
artists_api,
arts_api,
catalog_api,
characters_api,
navigations_api,
search_api,
tags_api,
scrape_api,
news_api,
invites_api,
apiLimiter
)

'''
ごちイラAPI α3 test
Expand All @@ -13,7 +35,7 @@
GET /accounts/<int:accountId>
PUT /accounts/<int:accountId>
DELETE /accounts/<int:accountId>
GET /accounts/<int:accountId>/apiKey
GET /accounts/<int:accountId>/apiKey
GET /accounts/<int:accountId>/favorites
PUT /accounts/<int:accountId>/favorites
DELETE /accounts/<int:accountId>/favorites
Expand Down

0 comments on commit 57e2267

Please sign in to comment.