2024-10-21 12:46:23 +10:00

20 lines
488 B
Python

import os
from esi.clients import EsiClientProvider
from allianceauth import __version__
from esi import __version__ as esi__version__
SWAGGER_SPEC = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'swagger.json')
APP_INFO_TEXT = f"allianceauth/{__version__} django-esi/{esi__version__}"
"""
Swagger spec operations:
get_killmails_killmail_id_killmail_hash
get_universe_types_type_id
"""
esi = EsiClientProvider(
spec_file=SWAGGER_SPEC,
app_info_text=APP_INFO_TEXT
)