Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

173
Vistas
How do I parse a Playfab GetLeaderBoard request result?

I'm trying to work with the PlayFab JS API to set up a leaderboard in my game, and once I retrieve the leaderboard I can not figure out how to parse the returned object correctly. I can confirm the leaderboard data is in the returned API request object by printing the whole thing, but I can't parse the object. Here's an example of the object that I receive back from Playfab:

Promise {<fulfilled>: {…}}
[[Prototype]]: Promise
[[PromiseState]]: "fulfilled"
[[PromiseResult]]: Object
CallBackTimeMS: 243
CustomData: undefined
Request: {StartPosition: 0, StatisticName: 'Score', CustomId: '2.1159277813360245e+25'}
code: 200
data:
Leaderboard: (10) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}]
Version: 2
[[Prototype]]: Object
status: "OK"
[[Prototype]]: Object

I'm trying to access the data in the "Leaderboard" section above.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda