This page is only available in english language.
documentation API team

team

public endpoints

/api/v4/team/$teamID
parameters
name type description
$teamID (required) int This is the ID of the team.
response (code: 404)
{
    "error": {
        "code": 404,
        "msg": "no entry with the ID: $teamID found."
    }
}
response (code: 200)
{
    "ID": 1,
    "name": "OPL Staff",
    "short_name": "STAFF",
    "residence_name": "Germany",
    "url": "https:\/\/www.opleague.pro\/team\/1-OPL-Staff",
    "game": {
        "ID": 1,
        "name": "Rainbow Six Siege",
        "short_name": "R6",
        "min_age": 18,
        "logo_array": [],
        "logo_array_on_black": [],
        "logo_color_array": [],
        "keyart_array": [],
        "cover_array": []
    },
    "description": null,
    "discord": "discord.com\/invite\/K4ST7kdBby",
    "twitter": "opleaguepro",
    "twitch": "opleagueeu",
    "youtube": null,
    "website": "https:\/\/www.opleague.pro",
    "logo_array": {
        "background": "..\/styles\/media\/team\/1\/Logo_background.png"
    },
    "logo_array_on_black": [],
    "banner_array": []
}

You are able to stack request with optional parameters like so: /api/v4/team/$teamID/$additional1,$additional2,$additional3

/api/v4/team/$teamID/achievement
parameters
name type description
$teamID (required) int This is the ID of the user.
achievements string Get all achievements of a team.
response (code: 400)
{
    "error": {
        "code": 400,
        "msg": "addtional request is invalid: $additional"
    }
}
response (code: 404)
{
    "error": {
        "code": 404,
        "msg": "no entry with the ID: $teamID found."
    }
}
response (code: 200)
{
    "ID": 1,
    "name": "OPL Staff",
    "short_name": "STAFF",
    "residence_name": "Germany",
    "url": "https:\/\/www.opleague.pro\/team\/1-OPL-Staff",
    "game": {
        "ID": 1,
        "name": "Rainbow Six Siege",
        "short_name": "R6",
        "min_age": 18,
        "logo_array": [],
        "logo_array_on_black": [],
        "logo_color_array": [],
        "keyart_array": [],
        "cover_array": []
    },
    "description": null,
    "discord": "discord.com\/invite\/K4ST7kdBby",
    "twitter": "opleaguepro",
    "twitch": "opleagueeu",
    "youtube": null,
    "website": "https:\/\/www.opleague.pro",
    "logo_array": {
        "background": "..\/styles\/media\/team\/1\/Logo_background.png"
    },
    "logo_array_on_black": [],
    "banner_array": [],
    "achievement": {
        "1": {
            "ID": "1",
            "name": "beta tester",
            "description": "You didn't even know what it is.",
            "logo_array": [],
            "logo_alt": "beta tester logo",
            "achievement_gained_on": "2020-02-17 11:12:23",
            "achievement_gained": true
        },
        "2": {
            "ID": "2",
            "name": "beta cup winner",
            "description": "A lot of hype around something that isn't finished.",
            "logo_array": [],
            "logo_alt": "beta cup winner logo",
            "achievement_gained_on": "2020-02-24 18:16:26",
            "achievement_gained": true
        },
        "3": {
            "ID": "3",
            "name": "beta league winner",
            "description": "A win is a win, no matter how small.",
            "logo_array": [],
            "logo_alt": "beta league winner logo",
            "achievement_gained_on": "2020-02-24 18:16:33",
            "achievement_gained": true
        },
        "4": {
            "ID": "4",
            "name": "koth",
            "description": "Recent King of the Hill winner",
            "logo_array": [],
            "logo_alt": "koth logo",
            "achievement_gained_on": "2023-06-15 23:28:59",
            "achievement_gained": true
        },
        "8": {
            "ID": "8",
            "name": "early bird",
            "description": "Sacrificed to look for sharks - it is safe.",
            "logo_array": [],
            "logo_alt": "early bird logo",
            "achievement_gained_on": "2020-02-24 18:16:29",
            "achievement_gained": true
        }
    }
}
/api/v4/team/$teamID/users
parameters
name type description
$teamID (required) int This is the ID of the user.
users string Get all users of a team.
response (code: 400)
{
    "error": {
        "code": 400,
        "msg": "addtional request is invalid: $additional"
    }
}
response (code: 404)
{
    "error": {
        "code": 404,
        "msg": "no entry with the ID: $teamID found."
    }
}
response (code: 200)
{
    "ID": 1,
    "name": "OPL Staff",
    "short_name": "STAFF",
    "residence_name": "Germany",
    "url": "https:\/\/www.opleague.pro\/team\/1-OPL-Staff",
    "game": {
        "ID": 1,
        "name": "Rainbow Six Siege",
        "short_name": "R6",
        "min_age": 18,
        "logo_array": [],
        "logo_array_on_black": [],
        "logo_color_array": [],
        "keyart_array": [],
        "cover_array": []
    },
    "description": null,
    "discord": "discord.com\/invite\/K4ST7kdBby",
    "twitter": "opleaguepro",
    "twitch": "opleagueeu",
    "youtube": null,
    "website": "https:\/\/www.opleague.pro",
    "logo_array": {
        "background": "..\/styles\/media\/team\/1\/Logo_background.png"
    },
    "logo_array_on_black": [],
    "banner_array": [],
    "users": {
        "1": {
            "ID": 1,
            "username": "Freaky",
            "first_name": null,
            "last_name": null,
            "residence_name": "Germany",
            "age": 26,
            "url": "https:\/\/www.opleague.pro\/user\/1-Freaky",
            "description": "Someone who created this place",
            "discord": "freakyy_gg",
            "discord_ID": 254670416881123329,
            "twitter": "Freakyy_gg",
            "twitch": "freakyy_gg",
            "youtube": "user\/00cris001",
            "website": "https:\/\/www.opleague.eu\/",
            "logo_array": {
                "background": "..\/styles\/media\/user\/1\/Logo_background.png"
            }
        },
        "2": {
            "ID": 2,
            "username": "Shadow",
            "first_name": "Leon",
            "last_name": "Birkel",
            "residence_name": "Germany",
            "age": 26,
            "url": "https:\/\/www.opleague.pro\/user\/2-Shadow",
            "description": "Responsible for OPL",
            "discord": "opl_leon",
            "discord_ID": 257560715743723541,
            "twitter": "ShadowOPL",
            "twitch": null,
            "youtube": null,
            "website": null,
            "logo_array": {
                "is_on_error": true
            }
        },
        "3": {
            "ID": 3,
            "username": "StreetDog",
            "first_name": "Patrick",
            "last_name": null,
            "residence_name": "Germany",
            "age": null,
            "url": "https:\/\/www.opleague.pro\/user\/3-StreetDog",
            "description": "Someone who created this place\n\nAchievements:\n\u25ba Saturday League S2\n\u25ba Clash of Nations Place 3",
            "discord": "streetdog",
            "discord_ID": 383363386207109128,
            "twitter": null,
            "twitch": "streetdog",
            "youtube": "channel\/UCV0JaU4L2JdIoa-kjVJPKtw",
            "website": "https:\/\/www.streetdog.media",
            "logo_array": {
                "background": "..\/styles\/media\/user\/3\/Logo_background.png"
            }
        },
        "4": {
            "ID": 4,
            "username": "Cubx",
            "first_name": "Anlai",
            "last_name": "Thai",
            "residence_name": "Germany",
            "age": 27,
            "url": "https:\/\/www.opleague.pro\/user\/4-Cubx",
            "description": null,
            "discord": "Cubx#1810",
            "discord_ID": 323664972074713088,
            "twitter": null,
            "twitch": null,
            "youtube": null,
            "website": null,
            "logo_array": {
                "background": "..\/styles\/media\/user\/4\/Logo_background.png"
            }
        }
    }
}
Table of contents