from app.api.GroupAPI import GroupAPI from app.api.LoginAPI import LoginAPI from app.api.UserAPI import UserAPI from app.api.UserInfoAPI import UserInfoAPI from app.api.exampleapi import SomeApi from app.core import api # Some Api resource api.add_resource(SomeApi, '/api/someapi', '/api/someapi/') api.add_resource(LoginAPI, '/api/login') api.add_resource(UserInfoAPI, '/api/userInfo') api.add_resource(UserAPI, '/api/user', '/api/user/byuid/', '/api/user/bylogin/', '/api/user/byemail/') api.add_resource(GroupAPI, '/api/group', '/api/group/bygid/', '/api/group/byname/')