{"id":159,"date":"2015-09-30T02:20:23","date_gmt":"2015-09-30T02:20:23","guid":{"rendered":"https:\/\/devzing.com\/blog\/?p=159"},"modified":"2015-09-30T02:28:22","modified_gmt":"2015-09-30T02:28:22","slug":"access-bugzilla-from-perl","status":"publish","type":"post","link":"https:\/\/devzing.com\/blog\/index.php\/access-bugzilla-from-perl\/","title":{"rendered":"Access Bugzilla from Perl"},"content":{"rendered":"<p>BZ-Client 2 is now available in a developer release on <a href=\"http:\/\/search.cpan.org\/~djzort\/BZ-Client-2.0_7\/\" target=\"_blank\">CPAN<\/a> and <a href=\"https:\/\/github.com\/djzort\/BZ-Client\/tree\/v2.0\" target=\"_blank\">GitHub<\/a>.<\/p>\n<p>Example:<\/p>\n<pre class=\"lang:perl decode:true \">my $client = BZ::Client-&gt;new( url =&gt; $url,\r\nuser =&gt; $user,\r\npassword =&gt; $password,\r\nautologin =&gt; 0\r\n);\r\n$client-&gt;login();\r\n$ids = [ 69, 101 ];\r\nmy $bugs = BZ::Client::Bug-&gt;get( $client, $ids );<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>BZ-Client 2 is now available in a developer release on CPAN and GitHub. Example: my $client = BZ::Client-&gt;new( url =&gt; $url, user =&gt; $user, password =&gt; $password, autologin =&gt; 0 ); $client-&gt;login(); $ids = [ 69, 101 ]; my $bugs = BZ::Client::Bug-&gt;get( $client, $ids ); &nbsp;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-159","post","type-post","status-publish","format-standard","hentry","category-bugzilla","entry"],"_links":{"self":[{"href":"https:\/\/devzing.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devzing.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devzing.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devzing.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/devzing.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=159"}],"version-history":[{"count":2,"href":"https:\/\/devzing.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/159\/revisions"}],"predecessor-version":[{"id":163,"href":"https:\/\/devzing.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/159\/revisions\/163"}],"wp:attachment":[{"href":"https:\/\/devzing.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devzing.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devzing.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}