I am struggling to do a more complex implementation of this... for example given the following HTML (and having multiples on the page)
<div class="card">
<div class="card-title">Title</div>
<div class="card-desc">Description text here</div>
<a href="#link" class="card-link">More info</a>
</div>
How would you format your JSON request to get those cards? This is what I assume it would be but lack of docs has me guessing...
{
"title": "title",
"news": [{
"elem": ".card",
"cardTitle": ".card .card-title",
"cardDesc": ".card .card-desc"
}]
}
Also the example on jamapi.xyz should be like something above, and not rely on website that can change like it does.
I am struggling to do a more complex implementation of this... for example given the following HTML (and having multiples on the page)
How would you format your JSON request to get those cards? This is what I assume it would be but lack of docs has me guessing...
Also the example on jamapi.xyz should be like something above, and not rely on website that can change like it does.