<?xml version="1.0" encoding="UTF-8"?>
<response>
  <status>success</status>
  <result>
    <project>
      <id>345105</id>
      <name>blogblogs-php</name>
      <created_at>2009-05-31T23:56:56Z</created_at>
      <updated_at>2009-05-31T23:56:56Z</updated_at>
      <description>This Class is a easy-to-use library for access all the BlogBlogs API. 

Version: pre-alphaExample$foo = new BlogBlogs(&quot;your-username&quot;,&quot;your-api-key&quot;);

$xml_return = $foo-&gt;getFavorites();
	
$xml_return = $foo-&gt;getUser(&quot;username&quot;);

$xml_return = $foo-&gt;getBlog(&quot;http://link-of-blog.com/&quot;);See your API Access KeyIn this page: Blogblogs Key you can see your API Key. 

PHP - Javascript Example$foo = new BlogBlogs(&quot;your-username&quot;,&quot;your-api-key&quot;);

$xml_return = $foo-&gt;getUser($_GET['username']);

$xml = new SimpleXMLElement( $xml_return );
	
switch($_GET['option']):
				
	case &quot;fullname&quot;: 
		return $xml-&gt;document-&gt;result-&gt;fullname;
		break;
			
	case &quot;blogs&quot;: 
		return $xml-&gt;document-&gt;result-&gt;blogs;
		break;
			
	case &quot;page&quot;: 
		return $xml-&gt;document-&gt;result-&gt;profilepage;
		break;
			
endswitch;
Calling with jQuery(get) 

$.get(&quot;example-js.php&quot;, { username: &quot;user-you-want&quot; option: &quot;option-you-want&quot; },
  function(data){
    alert(&quot;Data Loaded: &quot; + data);
});Get jQuery here 

AuthorCreated by: @nops</description>
      <homepage_url>http://code.google.com/p/blogblogs-php</homepage_url>
      <download_url></download_url>
      <url_name>blogblogs-php</url_name>
      <user_count>0</user_count>
      <average_rating></average_rating>
      <rating_count>0</rating_count>
      <analysis_id></analysis_id>
      <licenses>
        <license>
          <name>gpl3_or_later</name>
          <nice_name>GNU General Public License 3 or later</nice_name>
        </license>
      </licenses>
    </project>
  </result>
</response>
