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

172
Vistas
How to iterate through wikipedias API call where the pages keys are all unique

Tring to iterate through Wikipedia's API call where the page keys are all unique. Creating a response, to give results that are more akin to being useful. Also working with noodl.net hence the inputs and outputs.

let resultPagesArray = Response.content.query.pages;
let resultPagesArrayEntries.entries();

// Loop
let wikiPagesArray = [];

for (let i = 0;i <resultPagesArray.length;i++) {

console.log(i);

    let obj = Noodl.Object.create ( {
        name:i.names,
        url:i.urls,
        imageUrl:i.imageUrls,
        description:i.descriptions
        });
        
    wikiPagesArray.push (obj);
}

Outputs.resultPages = resultPagesArray;

Current response:

  "batchcomplete": "",
  "continue": {
    "gsroffset": 10,
    "continue": "gsroffset||"
  },
  "query": {
    "pages": {
      "454403": {
        "pageid": 454403,
        "ns": 0,
        "title": "Deep web",
        "index": 3,
        "extract": "The deep web, invisible web, or hidden web are parts of the World Wide Web whose contents are not indexed by standard web search-engines."
      },
      "3422674": {
        "pageid": 3422674,
        "ns": 0,
        "title": "Form (HTML)",
        "index": 9,
        "extract": "A webform, web form or HTML form on a web page allows a user to enter data that is sent to a server for processing."```
about 4 years ago · Santiago Gelvez
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