# Copyright (c) 2016, <NAME> <<EMAIL>>
# All rights reserved.

from interfaces._util import get_json


def ksp_versions():
    return [e["friendly_version"] for e in get_json("https://spacedock.info/api/kspversions")]


def mod_info(mod_id):
    return get_json("https://spacedock.info/api/mod/%i" % mod_id)

# Copyright (c) 2016, <NAME> <<EMAIL>>
# All rights reserved.

from interfaces._util import get_json


def ksp_versions():
    return [e["friendly_version"] for e in get_json("https://spacedock.info/api/kspversions")]


def mod_info(mod_id):
    return get_json("https://spacedock.info/api/mod/%i" % mod_id)

# Copyright (c) 2016, <NAME> <<EMAIL>> # All rights reserved.