Retrieve the list of users playing certain games using the start.gg API

Is there a way to retrieve all users from Smash Ultimate using the start.gg API? I couldn't find any information about fetching all users, only details about tournaments or specific player sets.

You can access the API here:

Thank you in advance for any assistance provided.

I managed to collect all Smash tournaments by executing the following GraphQL query:

query TournamentsByVideogame($perPage: Int!, $videogameId: ID!) {
  tournaments(query: {
    perPage: $perPage
    page: 1
    filter: {
      past: true
        countryCode: "FR"
      videogameIds: [
        $videogameId
      ]
    }
  }) {
    pageInfo {
      totalPages
      page
    }
    nodes {
      createdAt,
      endAt,
      id
      name
      slug
    }
  }
}

Answer №1

If your code successfully retrieved all events from SSBU, it indicates that you now possess the tournament IDs. By visiting this page, you can retrieve information about the participants in those tournaments.

Fingers crossed that I understood correctly! :)

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Creating a personalized news feed using getstream.io in Node.js - a step-by-step guide

const stream = require('getstream'); // Setting up a newsfeed stream using getstream const client = stream.connect( null, ); // Defining a feed for user1 var user1 = client.feed('user', 'user1'); // Adding a custom activity ...

Learn how to extract substrings from a variable within an API using Vue.js

Exploring VueJs for the first time and looking to split a string by comma (,) retrieved from an API into separate variables. The data is coming from a JSON server. "featured-property": [ { "id": "1", " ...

Having trouble with a malfunctioning JavaScript function? Need help resolving the issue?

My JavaScript code can be found at the following link: Link The function makewindows does not seem to be functioning properly. While it does create a window, the HTML content either shows as quoted text or if I use: child1.document.write(json_encode($ro ...

Using a forEach loop in a Vue JavaScript method

I am having trouble adding multiple images and cannot seem to figure out how to make it work. Here is the method I am using: imageAdd(e) { e.forEach(function(e) { if (e.type == 'image/jpeg' || e.type == & ...

I used npm to install a package, but for some reason, it's not appearing in

When attempting to install jquery using npm, I entered the following command: npm install jquery However, upon opening the destination folder, it was empty. (The below text was copied from cmd) > C:\Users\mandar\Desktop\Mady> ...

What is the process for including an extra track in Twilio Video?

Since updating the twilio-video JS SDK from version 1.x to 2.x, I've encountered an issue when trying to add an additional device. An example of the error message is as follows: ERROR TypeError: transceiver.sender.replaceTrack(...).then(...).finally i ...

Update the `name` attributes of input elements following the retrieval of HTML data from an action using AJAX in an ASP

I am working on a basic ajax request that retrieves a generated HTML from the server. Here is the code snippet: $.ajax({ url: '/GetData' type: "POST", dataType: "html", data: ..., success: function(data) { // In this ...

I'm trying to find the location of the server.js file in Node

Currently, I am diving into a book that delves into the integration of nodejs and backbonejs. It covers the foundational aspects that serve as the building blocks for understanding. (...) To kick things off, execute the command 'npm install express& ...

How can one determine if a user's location is in proximity to a specific position?

I am currently working on a Firefox add-on that utilizes GPS to determine the user's location and triggers a specific action when they are in close proximity to a certain point. For example, the add-on should only take action when green users are near ...

Using TypeScript, retrieve the primary email address from a list of multiple email addresses within React Table

I need to retrieve the default email from the data obtained through an API The data is structured like this: { "id": "123", "firstName": "Man", "lastName": "Stranger", "emailAddresse ...

What is the best way to transfer a JSON response from VB to JS?

How can I transfer a JSON response from VB to JS? I'm currently working on updating a company website that processes payments through JSON request/response communication. The site is built in VB, and while I've been able to successfully send the ...

Trouble encountered when attempting to POST with AJAX in Codeigniter

Wondering if I might have missed something here. I've been searching for a while now and can't seem to find a solution. In my CodeIgniter project, I'm attempting to use AJAX to make a POST request in an onClick event. This event should add ...

Creating a real-time clock in a single line console log format using NodeJS

To create a live clock in a single line display within a browser, we can utilize setInterval and manipulate the content inside an HTML element like so: var span = document.getElementById('span'); function time() { var d = new Date ...

Retrieve JSON data by making an AJAX request to a PHP file using the POST method

I am looking to extract data from a form using an AJAX call. The information is received in PHP as a string that looks like: 'fname':'abc','lname':'xyz','email':'','pass':'',& ...

Tips for accurately inputting a Record key in typescript

Within my code, I have a function that filters the properties of an object based on a specified filtering function: function filterProps<K extends string, V>(object: Record<K, V>, fn: (key:K, value: V, object: Record<K, V>) => unknown) ...

Javascript function fails to trigger when clicked

<body ng-app="starter"> <ion-pane> <ion-header-bar class="bar-dark"> <h1 class="title">AppifyLife</h1> </ion-header-bar> <ion-content> <center><div class="card" id="life"><h3>20< ...

PHP JSON array conversion

[ { "id":"26", "latitude":"10.308749502342007", "longitude":"123.88429984649656" }, { "id":"28", "latitude":"10.313816172726275", "longitude":"123.89030799468992" } ] I have retrieved this JS ...

Express API encounters an issue with multer and body-parser as req.file is undefined

I am in the process of developing an API that will need to handle file uploads along with other GET and POST requests. To manage file uploads, I am using 'multer' while utilizing 'body-parser' for all other HTTP requests. My goal is to ...

How can I dynamically update HTML content in React upon receiving an AJAX response?

Hi there, I'm new to using React and I have a requirement where I need to make an AJAX GET request to the server when a user clicks on a button. Based on the received response, I need to prepare HTML and display it. I tried implementing this with the ...

Instancing prohibits me from adjusting the transparency or opacity of each specific child geometry

I am currently working on a project that involves a simple model made up of 1000 instances of spheres. In an effort to optimize performance by reducing the number of draw calls, I decided to implement instancing. However, I encountered an issue with changi ...