| 1 | Source: libponapi-client-perl |
| 2 | Maintainer: Debian Perl Group <[email protected]> |
| 3 | Uploaders: Andrius Merkys <[email protected]> |
| 4 | Section: perl |
| 5 | Testsuite: autopkgtest-pkg-perl |
| 6 | Priority: optional |
| 7 | Build-Depends: debhelper-compat (= 13) |
| 8 | Build-Depends-Indep: libhijk-perl <!nocheck>, |
| 9 | libjson-maybexs-perl <!nocheck>, |
| 10 | libmoose-perl <!nocheck>, |
| 11 | liburi-perl <!nocheck>, |
| 12 | libyahc-perl <!nocheck>, |
| 13 | perl |
| 14 | Standards-Version: 4.6.0 |
| 15 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libponapi-client-perl |
| 16 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libponapi-client-perl.git |
| 17 | Homepage: https://metacpan.org/release/PONAPI-Client |
| 18 | |
| 19 | Package: libponapi-client-perl |
| 20 | Architecture: all |
| 21 | Depends: ${misc:Depends}, |
| 22 | ${perl:Depends}, |
| 23 | libhijk-perl, |
| 24 | libjson-maybexs-perl, |
| 25 | libmoose-perl, |
| 26 | liburi-perl, |
| 27 | libyahc-perl |
| 28 | Description: client to a JSON:API v1.0 service |
| 29 | PONAPI::Client is a JSON:API compliant client; it should be able to communicate |
| 30 | with any API-compliant service. |
| 31 | . |
| 32 | The client does a handful of checks required by the spec, then uses Hijk to |
| 33 | communicate with the service. |
| 34 | . |
| 35 | In most cases, all API methods return a response document: |
| 36 | . |
| 37 | my $response = $client->retrieve(...); |
| 38 | . |
| 39 | In list context however, all API methods will return the request status and |
| 40 | the document: |
| 41 | . |
| 42 | my ($status, $response) = $client->retrieve(...) |