Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

169
Views
Filter each parameters value from API

I want to find a mean to filter all each keyword from my API call result who i storing in my list:

const jList = []; 

result.data.results.forEach((element) => {
   jList.push(element)
});

That my api url call but it dosen't have parameters value i wanted :

h..s://api/...&results_per_page=20&what=%22lead-manager%22&content-type=application/json%22

...but i saw they are present directly on API call result, so i trying this to getting each parameters like : title , company unfortunately it not working

for (element of jobList) {
  
  title: { result.data.results.[].title },
  created: { result.data.results.[].created  },
  description: { result.data.results.[].description  },
  company: { result.data.results.[].company  }
 
}
  console.log(title)

How i can get each parameters from element ??

So please help me, Thanks

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

result.data.results.map((item) =>{
        let info = {
        title: item.title
        description: item.description

    }})

i don't exactly understand what you want to achieve but is this what you want ?

about 4 years ago · Juan Pablo Isaza Report

0

did you try using map ?


result.data.results.map((item) =>{ console.log(item.title) })

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!