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

177
Visualizações
Coingecko links properties can't be accessed

I'm using the following way to access a property on coingecko's API: https://api.coingecko.com/api/v3/coins, this returns all crypto coins and their properties.

While using the above link I can access the IDs of any object in the response. but if I'm using the next link: https://api.coingecko.com/api/v3/coins/bitcoin I'm still getting the ID as I can see in response, but I can't access the id like this: data[index].id (which I can do with the first link).

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

The second rest call returns an object, whereas the first link returns an array of objects.

To access id in the second example, simply use data.id (no array, so no index here).

about 4 years ago · Juan Pablo Isaza Relatório
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