I'm using the wikipedia API to call artist information. The question is, how do you filter this information? I just want these fields: Image, name, age, place and date of birth, genres and website ...
I searched google, but found no nad related to the api of wikipedia ...
I currently have this code:
HTML:
<div class="div-biography" style="overflow:scroll; height:480px;">
<ul class="header">
<li><button class="go-back-btn-bio" type="button" name="button" id="your-playlist"><i class="ion-ios-arrow-back"></i>GO BACK</button></li>
</ul>
<div class="row">
<h3></h3>
</div>
<p></p>
</div>
JS:
$("#biography").click(function(){
$(".div-pesquisa").hide();
$(".div-biography").show();
url="https://en.wikipedia.org/w/api.php?action=parse&page="+ query +"&format=json&origin=*";
url=encodeURI(url);
$.get(url,function(response,status){
if (status=='success') {
$(".div-biography .row h3").html(response.parse.title);
$(".div-biography p").html(response.parse.text['*']);
}
});
});
Thank you !!