I want to pull data (title, author, etc) from this json file: http://www.nba.com/grizzlies/api/v1/json
How would I go about this in Javascript/jQuery? I can't seem to be able to.
I want to pull data (title, author, etc) from this json file: http://www.nba.com/grizzlies/api/v1/json
How would I go about this in Javascript/jQuery? I can't seem to be able to.
 
    
    $.ajax({
    type: 'GET',
    url: "http://www.nba.com/grizzlies/api/v1/json",
    dataType: "jsonp",
    success: function (data) {
        console.log(data);
        $.each(data, function (index, value) {
            $.each(value, function (idx, val) {
                console.log(val.author);
            })
        })
    },
    error: function (data) {
    }
});
If you want to try demo below.
