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

142
Views
Wikipedia API infobox response text to Javascript object

I played around with Media Wiki API to get the infobox from an article. Using this call: https://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=content&redirects=1&titles=Methan&rvsection=0

However the revived content at "*" is not very useful in its default form. I want to parse the text as a Javascript object, but I couldn't find a way to do this. I tried the wiki-infobox module, but the problem is that I don't have npm on that server and I can't use it. I need something which can be included via a script tag or a custom regex.

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