Taringa! API

 

Posts-GetTopUsers

Page history last edited by Matias 10 mos ago

Users-GetTopUsers

 

Descripción:

     Se listan los 15 usuarios top según los criterios seleccionados.

 

Parámetros:

  • Tiempo
    • Todos los tiempos (variable: -1)
    • Hoy (variable: 1)
    • Ayer (variable: 2)
    • De los útimos 7 días (variable: 3)
    • Del mes: últimos 30 días (variable: 4)
    • Del mes anterior: de 60 a 30 últimos días (variable: 5)

 

 

  • Tipo de top
    • Usuario con más posts (variable: 1)
    • Usuario con más puntos (variable: 2)

 

Ejemplo de llamada:

     http://www.taringa.net/api/key77533557/xml/Users-GetTopUsers/-1/1/-1 (tiempo/tipo/categoría)

 

Detalles de la respuesta:

  • position: puesto del ranking.
  • nick: nick del usuario.
  • valor representativo del top (posts/puntos)
  • unit: unidad del top (posts/points)

  

Límite de llamadas:

     Hasta 10 llamadas por minuto.

 

Ejemplo de respuesta XML:

 

<root>               

     <top-1>

     <position>1</position>

     <nick>zxunami</nick>

     <score>4771</score>

     <unit>posts</unit>

</top-1>

...

</root>

 

Ejemplo de respuesta JSON:

 

{

    "top-1":

    {

        "position":1,

        "autor-id":"11325",

        "nick":"zxunami",

        "score":"4771",

        "unit":"posts"

    },

...

}

 

Comments (0)

You don't have permission to comment on this page.