skip to Main Content

Json – Scrap Data Project Python

Following code should go on the website "https://www.destatis.de/DE/Themen/Gesellschaft-Umwelt/Bevoelkerung/Geburten/Tabellen/lebendgeborene-vorl.html" and get the data of that table there. The x axis data is in the column "Monate" and the y axis values are in "Geborene Kinder". I also put the xpath of…

VIEW QUESTION

How to convert string to valid json or yaml

I have a large script that parses js with a dataframe entry, but to shorten the question, I put what I need in a separate variable. My variable contains the following value value = "{from:[3,4],to:[7,4],color:2},{from:[3,6],to:[10,6],color:3}" I apply the following script…

VIEW QUESTION

Json – I want, using my private API, to fetch my data but I want them to be checkboxes

Here's what I have so far main.html (it's a form btw) <div class="form-group form-check-inline"> <input class="form-check-input" type="radio" name="region" id="US" value="US"> <label class="form-check-label" for="US">US</label> </div> api.js document.addEventListener('DOMContentLoaded', () => { const urlUS = new URL("http://127.0.0.1:3000/api/v1/regionApi/regionProduct/1") document.getElementById('US').addEventListener('click', getRegionUS) function getRegionUS() { fetch(urlUS,…

VIEW QUESTION
Back To Top
Search