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

359
Vistas
How to get property from API Response in Node JS?

I have an API in node JS that calls another API - openWeatherMap. This is my postman response when i call the weather API: enter image description here

But this response brings every parameters in the API and I want to show the user for example the temp.min. How can I do this?

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

you can access to json Object values with thier keys, for example:

response.body.list[0].main.temp_min
about 4 years ago · Juan Pablo Isaza Denunciar

0

You should use 'Dot Notation' to access the required object property. Refer to the MDN Docs or a resource like W3 for more information on how to use this.

In your case, you could declare a variable equal to the property you wish to access:

minTemp = response.body.list[0].main.temp_min
about 4 years ago · Juan Pablo Isaza Denunciar
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