1 .TH AUR-QUERY 1 2022-08-16 AURUTILS
3 aur\-query \- send requests to the aurweb RPC interface
10 .IR pkgname " [" pkgname... ]
15 retrieves package information from an AUR endpoint by sending HTTP POST
17 .UR https://\:aur.archlinux.org/\:rpc.php
23 Arguments are taken from the command-line. If the first argument is
27 arguments are taken from standard input. JSON responses are delimited by
28 newlines (JSON Lines).
31 The request type and arguments must be compatible to the chosen RPC version (see the
32 .B AUR_QUERY_RPC_VERSION
33 environment variable). The options below assume
37 .BR \-b ", " \-\-by=\fR<KIND>
38 Arguments for package search
39 .RB ( \-\-type=search ).
51 .BR \-t ", " \-\-type=\fR<NAME>
52 Type of request. Can be one of
60 returns 0 if no errors occurred, 1 if an invalid option or no
61 arguments were supplied, and 2 on a
68 The URI of the AUR endpoint. Defaults to
69 .IR https://\:aur.archlinux.org .
73 The URI of the RPC interface. Defaults to
74 .IR "$AUR_LOCATION/rpc/?v=5" .
77 .B AUR_QUERY_RPC_SPLITNO
78 The amount of packages in the message body when using HTTP POST for
79 info-type requests. Defaults to
81 This value should not be set higher than 5000, the maximum amount of
87 .B AUR_QUERY_RPC_VERSION
88 The version for the RPC endpoint. Defaults to
95 command-lines prior to running them.
98 The default set of options for
101 .BR "\-A aurutils \-fgLsSq" .
106 .BR aur\-depends (1),
112 .MT https://github.com/AladW
116 .\" vim: set textwidth=72: