NAME

Net::OBS::Client::Package - fetch package information

SYONPSIS

 use Net::OBS::Client::Package;

  my $obj = Net::OBS::Client::Package->new(
    project    => 'OBS:Server:Unstable',
    name       => 'obs-server',
    repository => 'openSUSE_Factory',
    arch       => 'x86_64',
    use_oscrc  => 0,
    apiurl     => 'https://api.opensuse.org/public'
  );

  my $s = $obj->fetch_status();

  print "code: ".$p->code($repo, $arch)."\n";

ATTRIBUTES

project

repository

arch

details

METHODS

fetch_status -

  my $s = $ojb->fetch_status();

code - get package build code

  my $c = $obj->code;

AUTHOR

Frank Schreiner, <frank at samaxi.de>

SEE ALSO

You can find some examples in the "" in contrib directory

COPYRIGHT

Copyright 2016 Frank Schreiner <frank@samaxi.de>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.