Automatically generated documentation for the Valorant API endpoints the client uses internally.

Overview

Valorant API Docs

To read documentation and get started, see Docs

This is a project designed to automatically document Valorant endpoints based on a JSON file containing endpoint data. Documentation comes in the form of markdown files and importable Insomnia workspaces.

To contribute to endpoints / docs, see the data directory. To contribute to the code generating the documentation, see the generation directory. Modifications to the docs directory will be removed automatically.

Comments
  • How can I get mission-definitions?

    How can I get mission-definitions?

    I get my contract from url down below

    async def fetch_player_contract(u):
        #url="https://pd.ap.a.pvp.net/contract-definitions/v2/definitions/story"
        url=f"https://pd.ap.a.pvp.net/contracts/v1/contracts/"+u['auth_user_id']
        headers = {
            "Content-Type": "application/json",
            "X-Riot-Entitlements-JWT": u['entitlements_token'],
            "Authorization": "Bearer " + u['access_token'],
            "X-Riot-ClientPlatform" : "ew0KCSJwbGF0Zm9ybVR5cGUiOiAiUEMiLA0KCSJwbGF0Zm9ybU9TIjogIldpbmRvd3MiLA0KCSJwbGF0Zm9ybU9TVmVyc2lvbiI6ICIxMC4wLjE5MDQyLjEuMjU2LjY0Yml0IiwNCgkicGxhdGZvcm1DaGlwc2V0IjogIlVua25vd24iDQp9",
            "X-Riot-ClientVersion": "release-05.03-shipping-8-745499"
        }
        async with aiohttp.ClientSession() as session:
            async with session.get(url, headers=headers) as response:
                res = json.loads(await response.text())
    
        return res
    

    it also returns mission_id in the end,but I can't find definitions of mission ID

        "Missions": [
            {
                "ID": "75da2732-44ec-80f2-9de8-349da322f634",
                "Objectives": {
                    "16af3bdf-c353-4c8c-a47c-b4eeac154eaf": 4
                },
                "Complete": False,
                "ExpirationTime": "2022-08-24T03:00:00Z"
            },
            {
                "ID": "4ef22966-46ac-0fc3-e300-d1a53b669e12",
                "Objectives": {
                    "91952692-4345-8bc1-6f1c-2dad7e14109f": 176
                },
                "Complete": False,
                "ExpirationTime": "2022-08-24T03:00:00Z"
            },
            {
                "ID": "c90f3728-447d-ffa5-27a4-6c87fd89f9ce",
                "Objectives": {
                    "a617b28c-4ad2-04f6-736e-2eb01a903417": 20
                },
                "Complete": True,
                "ExpirationTime": "2022-08-24T03:00:00Z"
            },
            {
                "ID": "0f33dad7-4e68-398d-35cc-b5a5b1503050",
                "Objectives": {
                    "f5d56aa6-4337-2c1c-3cb9-47b7ce9e6304": 0
                },
                "Complete": False,
                "ExpirationTime": "2022-08-23T20:00:00Z"
            },
            {
                "ID": "8f183032-4ba1-b6a2-0574-e0ab6098a08f",
                "Objectives": {
                    "c807ef27-420a-69f2-3c0f-31bf8922ba6f": 0
                },
                "Complete": False,
                "ExpirationTime": "2022-08-23T20:00:00Z"
            }
        ],
        "MissionMetadata": {
            "NPECompleted": True,
            "WeeklyCheckpoint": "2022-07-11T13:00:00Z"
        }
    }
    
    opened by Aewait 5
  • 403 Forbidden from authorization

    403 Forbidden from authorization

    I encountered the following error

    Traceback (most recent call last):
     File "E:\GIT\Kook-Valorant-Bot\code\main.py", line 1760, in login_authtoken
       res_auth = await authflow(user, passwd)
     File "E:\GIT\Kook-Valorant-Bot\code\val.py", line 152, in authflow
       await auth.authorize(*CREDS)
     File "C:\Users\moth\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\riot_auth\auth.py", line 192, in authorize
       async with session.post(
     File "C:\Users\moth\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\aiohttp\client.py", line 1138, in __aenter__
       self._resp = await self._coro
     File "C:\Users\moth\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\aiohttp\client.py", line 640, in _request
       resp.raise_for_status()
     File "C:\Users\moth\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\aiohttp\client_reqrep.py", line 1004, in raise_for_status
       raise ClientResponseError(
    aiohttp.client_exceptions.ClientResponseError: 403, message='Forbidden', url=URL('https://auth.riotgames.com/api/v1/authorization')
    

    It occured both on windows11 and cloud_server CentOS7.6

    first err occured at 2022-09-27 00:02:47 GMT+8, everything was good on 09-26

    image

    I asked another developer, who said he had encountered the same error

    opened by Aewait 4
  • RESOURCE_NOT_FOUND

    RESOURCE_NOT_FOUND

    {"httpStatus":404,"errorCode":"RESOURCE_NOT_FOUND","message":"resource not found"}

    Endpoint: "https://glz-eu-1.eu.a.pvp.net/pregame/v1/players/"

    opened by fantasywastaken 2
  • 403 Forbidden when trying to authenticate

    403 Forbidden when trying to authenticate

    Because i dont want to use the fix on the old issue, i opend a new issue. Are there already any other fixes already? Is python the reason or generally? anyway, here is my code:

    image

    weird thing is: in insomnia there is everything working fine but not on normal codes

    opened by NavisGames 2
  • Enable GitHub Pages

    Enable GitHub Pages

    hi, i think it would be nice to be able to read the documentation in the browser without all the github ui. GitHub Pages would be great for this because they can render markdown straight to html without any further configuration. You would just have to enable it in your repo settings.

    GitHub Pages Configuration: Screenshot_20220123-030750

    It would look like this. I would love it if you could enable that.

    opened by NyCodeGHG 2
  • help https://auth.riotgames.com/userinfo api not work :\

    help https://auth.riotgames.com/userinfo api not work :\

    code

        async with aiohttp.ClientSession() as s:
            headers = {"Authorization": "Bearer " + riotgamesauth["auth"]['access_token'],
                       "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36",
                       "Content-Type": "application/json",
                       }
            async with s.get("https://auth.riotgames.com/userinfo") as r:
                print(r.status)
                print(await r.text())
    

    output image

    if base64 encode tọken image out image

    opened by thedtvn 0
  • add

    add "riot-geo" region endpoint

    image i can use my acc country at RSO_GetPlayerInfo and use country to get country code as iso3 then get country region use api https://restcountries.com/v3.1/alpha/{country code} image

    opened by thedtvn 7
Owner
Techdoodle
I make websites, shenanigans, Minecraft plugins, Discord bots, and just about everything else
Techdoodle
API client to test endpoints over HTTP. Uses superagent under the hood

@japa/client API client to test endpoints over HTTP. Uses superagent under the hood The API client plugin of Japa makes it super simple to test your A

Japa.dev 8 Apr 13, 2022
Contains html file showcasing Earthquake related data generated in the form of VR model, ArcGIS API with real-time earthquake feed and video of simulation of earthquake generated in blender

Module-EADGI-Project-All about Earthquakes Introduction Contains html file showcasing Earthquake related data generated in the form of VR model, ArcGI

Abhishek Rawat 2 Jun 9, 2022
Visualize the Directed Acyclic Graph that Git creates to connect Commit, Tree and Blob objects internally.

Git Graph Visualize the Directed Acyclic Graph that Git creates to connect Commit, Tree and Blob objects. Hosted at HarshKapadia2.github.io/git-graph.

Harsh Kapadia 15 Aug 21, 2022
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
A third-party VALORANT API wrapper library.

wrapper-valorant-api A NodeJS wrapper for the VALORANT API. Installation npm: npm i wrapper-valorant-api yarn: yarn add wrapper-valorant-api VAL-CONTE

LordPrinz 3 Dec 8, 2022
Informações de todos os Agentes e Armas e Skins do Valorant

Bem vindo a Valorant Info Criei um painel que busca as informações dos Agentes(Informaçoes das habilidades e também um vídeo mostrando como e usada) T

Luiz Wanderson 28 Jul 29, 2022
Valorant DiscordRPC Program.

ValoCord Installation Download the latest release and setup the program. Enjoy it :) Usage Firstly setup the program. Open Valorant and Discord app. Y

Aronshire 5 Dec 17, 2022
Automatically construct and visualize Graphs generated from your Node.js project

cyclops is a minimalist developer tool that can be used to generate directed graphs from your Node.js project. It can automatically detect circular de

Antoine Coulon 74 Jan 5, 2023
Automatically construct, traverse and visualize graphs generated from your Node.js project

skott is a minimalist developer tool that can be used to efficiently generate directed graphs from your JavaScript/Node.js project. It can automatical

Antoine Coulon 57 Dec 21, 2022
An unofficial companion tool created for use alongside PhotoPrism to enable API endpoints and automation.

PhotoPrism Helper PhotoPrism Helper is an unofficial companion tool created for use alongside PhotoPrism. This project isn't associated with the Photo

Ryan Miller 9 Dec 25, 2022
An API library of useful mocked endpoints to help you get your designs feeling lifelike with real data.

About Welcome to Mocked-API, this is a live API that can be accessed by anyone who needs data to test out their website, app, components etc. Hacktobe

Aaron Rackley 48 Dec 29, 2022
An interceptor to validate and decode Pub/Sub push messages for endpoints

NestJS GCP Pub/Sub Interceptor Provides an Interceptor for NestJS to automagically validate and unwrap HTTP push messages from Google Cloud Platform's

Hiphops 3 Dec 15, 2022
Create Route53 HealthChecks to monitor TCP, HTTP, HTTPS endpoints, CloudWatch Alarms and other Route53 HealthChecks

AWS CDK Route53 HealthCheck Create Route53 HealthChecks to monitor TCP, HTTP, HTTPS endpoints, to monitor CloudWatch Alarms and to monitor other Route

Pepperize 7 Dec 15, 2022
Example auto-generated OpenAPI client library and an accompanying example Angular app.

To utilize this demo Head into petstore_frontend\petes_pets Run npm install Go to frontend_client_lib\out Run npm install Head back into petstore_fron

Alan Gross 1 Jan 21, 2022
This extension allows you to create Markdown files which are automatically transformed to in-game documentation for your Add-On.

Markdown Doc Generator An extension for bridge editor which makes creating docs in minecraft easier, by generating json-ui from markdown View extensio

Freddie 7 Dec 31, 2022
Unofficial API client for the Tidbyt API. Use this client to control Tidbyt devices and integrate with other services.

Tidbyt Client for Node.js Unofficial API client for the Tidbyt API. Use this client to control Tidbyt devices and integrate with other services. Insta

Nicholas Penree 19 Dec 17, 2022