const{ ValorantApi }=require("wrapper-valorant-api");constAPIKey="";// Your API KeyconstValApi=newValorantApi(APIKey);// An API instance for Valorant query// Example usage of the VAL-CONTENT-V1 APIValApi.getContents({locale: "en-US"}).then((data)=>console.log(data));// Production API KeyValApi.match.getByPuuid({puuid: ""});// Your puuidValApi.match.getByQueue({queue: "competetive"}).then((data)=>console.log(data));
Typescript:
import{ValorantApi}from"wrapper-valorant-api";constAPIKey="";// Your API KeyconstValApi=newValorantApi(APIKey);// An API instance for Valorant query// Example usage of the VAL-CONTENT-V1 APIValApi.getContents({locale: "en-US"}).then((data)=>console.log(data));// Production API KeyValApi.match.getByPuuid({puuid: ""});// Your puuidValApi.match.getByQueue({queue: "competetive"}).then((data)=>console.log(data));
This repository demonstrates how to integrate your Dialogflow agent with 3rd-party services services using a Node.JS backend service. Integrating your service allows you to take actions based on end-user expressions and send dynamic responses back to the end-user.