mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-15 15:30:16 +02:00
20 lines
488 B
Python
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
|
|
)
|