Safe Browsing Lookup API to return just true or false?
<p>I was looking for api's that would check urls for malware. I found <code>Safe Browsing Lookup API</code> and i want to do something like so:</p>

<p>1) In php pass the url to this api
2) Get the response from api - 1(or true) if it doesnt have malware, 0(or false) if it has malware.</p>

<p>How can i do that? Do i need to make a DOM document and then parse the result? I tried reading the Developer's Guide but i didnt see anything that would help me (maybe im blind).</p>

<p>Any suggestions?</p>

<p>Edit: The API i was using was Google Safe Browsing (<a href="https://developers.google.com/safe-browsing/" rel="nofollow">https://developers.google.com/safe-browsing/</a>)</p>
