Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

179
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda