The cl-arxiv-api Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The cl-arxiv-api Reference Manual

This is the cl-arxiv-api Reference Manual, version 0.1, generated automatically by Declt version 2.3 "Robert April" on Tue Jan 09 13:24:22 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

cl-arxiv-api

A tiny wrapping layer on top of web-API of www.arXiv.org http://arxiv.org/help/api/index

The main API function is ARXIV-GET, parameters of which literally parallel parameters of http query (except some parameters are keywords and are keyword-valued).

(arxiv-get '(:author "Popolitov") :max-results 1 :sort-order :asc :sort-by :submit)

((:SELF-LINK
  . "http://arxiv.org/api/query?search_query%3Dau%3A%20Popolitov%26id_list%3D%26start%3D0%26max_results%3D1")
 (:TITLE
  . "ArXiv Query: search_query=au: Popolitov&id_list=&start=0&max_results=1")
 (:ID . "http://arxiv.org/api/eqh0wUfSoqUlr9BWqd8knMzmeUA")
 (:UPDATED . "2015-08-16T00:00:00-04:00") (:TOTAL-RESULTS . 13)
 (:START-INDEX . 0) (:ITEMS-PER-PAGE . 1)
 (:ENTRY (:ID . "http://arxiv.org/abs/0710.2073v2")
  (:UPDATED . "2007-10-12T11:18:49Z") (:PUBLISHED . "2007-10-10T17:58:06Z")
  (:TITLE . "On coincidence of Alday-Maldacena-regularized $σ$-model and
  Nambu-Goto areas of minimal surfaces")
  (:SUMMARY . "  For the $\\sigma$-model and Nambu-Goto actions, values of the
Alday-Maldacena-regularized actions are calculated on solutions of the
equations of motion with constant non-regularized Lagrangian. It turns out that
these values coincide up to a factor, independent of boundary conditions.
")
  (:AUTHOR . "A. Popolitov") (:DOI . "10.1134/S0021364007210011")
  (:RELATED-LINK . "http://dx.doi.org/10.1134/S0021364007210011")
  (:COMMENT . "3 pages, submitted to JETP Letters, corrected some misprints and
  missing factors in formulas (10) and (11)")
  (:JOURNAL-REF . "JETP Lett.86:559-561,2008")
  (:ALTERNATE-LINK . "http://arxiv.org/abs/0710.2073v2")
  (:RELATED-LINK . "http://arxiv.org/pdf/0710.2073v2")
  (:PRIMARY-CATEGORY . "hep-th") (:CATEGORY . "hep-th")))

As is clear from the example, ARXIV-GET parses XML returned by arXiv into simple assoc-list. CL-ARXIV-API exports two more functions:


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 cl-arxiv-api

Author

Alexandr Popolitov <popolit@gmail.com>

License

MIT

Description

Bindings for API of arXiv.org

Version

0.1

Dependencies
Source

cl-arxiv-api.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 cl-arxiv-api.asd

Location

cl-arxiv-api.asd

Systems

cl-arxiv-api (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 cl-arxiv-api/package.lisp

Parent

cl-arxiv-api (system)

Location

package.lisp

Packages

cl-arxiv-api


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.3 cl-arxiv-api/compose-query.lisp

Dependency

package.lisp (file)

Parent

cl-arxiv-api (system)

Location

compose-query.lisp

Exported Definitions

arxiv-get-raw (function)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.4 cl-arxiv-api/parse-query.lisp

Dependency

compose-query.lisp (file)

Parent

cl-arxiv-api (system)

Location

parse-query.lisp

Exported Definitions

parse-arxiv-response (function)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.5 cl-arxiv-api/cl-arxiv-api.lisp

Dependency

parse-query.lisp (file)

Parent

cl-arxiv-api (system)

Location

cl-arxiv-api.lisp

Exported Definitions

arxiv-get (function)


Previous: , Up: Lisp files   [Contents][Index]

3.1.6 cl-arxiv-api/oai-pmh.lisp

Dependency

cl-arxiv-api.lisp (file)

Parent

cl-arxiv-api (system)

Location

oai-pmh.lisp

Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 cl-arxiv-api

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Functions

Function: arxiv-get QUERY &key START MAX-RESULTS ID-LIST SORT-BY SORT-ORDER AUTO-RETRY
Package

cl-arxiv-api

Source

cl-arxiv-api.lisp (file)

Function: arxiv-get-raw QUERY &key START MAX-RESULTS ID-LIST SORT-BY SORT-ORDER AUTO-RETRY
Package

cl-arxiv-api

Source

compose-query.lisp (file)

Function: parse-arxiv-response STR
Package

cl-arxiv-api

Source

parse-query.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Special variables

Special Variable: *arxiv-api-url*
Package

cl-arxiv-api

Source

compose-query.lisp (file)

Special Variable: *bkup-of-list-sets*
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Special Variable: *default-namespace*
Package

cl-arxiv-api

Source

parse-query.lisp (file)

Special Variable: *err-code->sym*
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Special Variable: *known-responses*
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Special Variable: *known-verbs*
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Special Variable: *method-names*
Package

cl-arxiv-api

Source

compose-query.lisp (file)

Special Variable: *namespace-map*
Package

cl-arxiv-api

Source

parse-query.lisp (file)

Special Variable: *oai-pmh-url*
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Special Variable: *parsers*
Package

cl-arxiv-api

Source

parse-query.lisp (file)

Special Variable: *query-connectives*
Package

cl-arxiv-api

Source

compose-query.lisp (file)

Special Variable: *query-params-abbrevs*
Package

cl-arxiv-api

Source

compose-query.lisp (file)

Special Variable: *response-parsers*
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Special Variable: *sample-xml-with-resumption-token*
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Special Variable: *valid-errors*
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Macros

Macro: define-all-fetcher NAME ARGS BASE-NAME BASE-ARGS
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Macro: define-default-parser THING
Package

cl-arxiv-api

Source

parse-query.lisp (file)

Macro: define-default-parser-for &rest THINGS
Package

cl-arxiv-api

Source

parse-query.lisp (file)

Macro: define-integer-parser THING
Package

cl-arxiv-api

Source

parse-query.lisp (file)

Macro: define-integer-parser-for &rest THINGS
Package

cl-arxiv-api

Source

parse-query.lisp (file)

Macro: define-parser THING &body BODY
Package

cl-arxiv-api

Source

parse-query.lisp (file)

Macro: fail-parse ()
Package

cl-arxiv-api

Source

parse-query.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.3 Functions

Function: %parse-arxiv-response STR
Package

cl-arxiv-api

Source

parse-query.lisp (file)

Function: %serialize-query QUERY &optional TOPLEVEL
Package

cl-arxiv-api

Source

compose-query.lisp (file)

Function: arxiv-get-record IDENTIFIER METADATA-PREFIX
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Function: arxiv-identify ()
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Function: arxiv-list-all-identifiers METADATA-PREFIX &key FROM UNTIL SET
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Function: arxiv-list-all-records METADATA-PREFIX &key FROM UNTIL SET
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Function: arxiv-list-all-sets ()
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Function: arxiv-list-identifiers &key METADATA-PREFIX FROM UNTIL SET RESUMPTION-TOKEN
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Function: arxiv-list-metadata-formats &key IDENTIFIER
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Function: arxiv-list-records &key METADATA-PREFIX FROM UNTIL SET RESUMPTION-TOKEN
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Function: arxiv-list-sets &key RESUMPTION-TOKEN
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Function: arxiv-nasty-verb ()
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Function: atomic-query-p QUERY
Package

cl-arxiv-api

Source

compose-query.lisp (file)

Function: camelcaseize NAME
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Function: compose-oai-pmh-request VERB &rest ARGS
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Function: composite-query-p QUERY
Package

cl-arxiv-api

Source

compose-query.lisp (file)

Function: empty-line-p SMTH
Package

cl-arxiv-api

Source

parse-query.lisp (file)

Function: ensure-namespace-free THING
Package

cl-arxiv-api

Source

parse-query.lisp (file)

Function: error-message ERR
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Function: error-symbol ERR
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Function: get-parsers RESPONSE-TYPE
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Function: group2 LST
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Function: hash->assoc HASH
Package

cl-arxiv-api

Source

parse-query.lisp (file)

Function: http-retrying-get REQUEST
Package

cl-arxiv-api

Source

compose-query.lisp (file)

Function: http-simple-get REQUEST
Package

cl-arxiv-api

Source

compose-query.lisp (file)

Function: parse-as-list SMTH
Package

cl-arxiv-api

Source

parse-query.lisp (file)

Function: parse-oai-pmh-response RESPONSE
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Function: query-head QUERY
Package

cl-arxiv-api

Source

compose-query.lisp (file)

Function: serialize-query QUERY

Transform query form Lisp-form to string form

Package

cl-arxiv-api

Source

compose-query.lisp (file)

Function: subcamcaseize NAME
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Function: try-to-descend SMTH
Package

cl-arxiv-api

Source

parse-query.lisp (file)

Function: understand-spec SPEC
Package

cl-arxiv-api

Source

parse-query.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

5.2.4 Conditions

Condition: arxiv-parse-error ()
Package

cl-arxiv-api

Source

parse-query.lisp (file)

Direct superclasses
  • simple-condition (condition)
  • error (condition)
Condition: bad-argument ()
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Direct superclasses

oai-pmh-error (condition)

Condition: bad-resumption-token ()
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Direct superclasses

oai-pmh-error (condition)

Condition: bad-verb ()
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Direct superclasses

oai-pmh-error (condition)

Condition: cannot-disseminate-format ()
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Direct superclasses

oai-pmh-error (condition)

Condition: http-get-error ()
Package

cl-arxiv-api

Source

compose-query.lisp (file)

Direct superclasses
  • simple-condition (condition)
  • error (condition)
Direct methods

print-object (method)

Direct slots
Slot: code
Initargs

:code

Slot: headers
Initargs

:headers

Condition: id-does-not-exist ()
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Direct superclasses

oai-pmh-error (condition)

Condition: no-metadata-formats ()
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Direct superclasses

oai-pmh-error (condition)

Condition: no-records-match ()
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Direct superclasses

oai-pmh-error (condition)

Condition: no-set-hierarchy ()
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Direct superclasses

oai-pmh-error (condition)

Condition: oai-pmh-error ()
Package

cl-arxiv-api

Source

oai-pmh.lisp (file)

Direct superclasses
  • simple-condition (condition)
  • error (condition)
Direct subclasses
Direct slots
Slot: errors
Initargs

:errors

Slot: rest
Initargs

rest


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   C   F   L  
Index Entry  Section

C
cl-arxiv-api.asd: The cl-arxiv-api<dot>asd file
cl-arxiv-api/cl-arxiv-api.lisp: The cl-arxiv-api/cl-arxiv-api<dot>lisp file
cl-arxiv-api/compose-query.lisp: The cl-arxiv-api/compose-query<dot>lisp file
cl-arxiv-api/oai-pmh.lisp: The cl-arxiv-api/oai-pmh<dot>lisp file
cl-arxiv-api/package.lisp: The cl-arxiv-api/package<dot>lisp file
cl-arxiv-api/parse-query.lisp: The cl-arxiv-api/parse-query<dot>lisp file

F
File, Lisp, cl-arxiv-api.asd: The cl-arxiv-api<dot>asd file
File, Lisp, cl-arxiv-api/cl-arxiv-api.lisp: The cl-arxiv-api/cl-arxiv-api<dot>lisp file
File, Lisp, cl-arxiv-api/compose-query.lisp: The cl-arxiv-api/compose-query<dot>lisp file
File, Lisp, cl-arxiv-api/oai-pmh.lisp: The cl-arxiv-api/oai-pmh<dot>lisp file
File, Lisp, cl-arxiv-api/package.lisp: The cl-arxiv-api/package<dot>lisp file
File, Lisp, cl-arxiv-api/parse-query.lisp: The cl-arxiv-api/parse-query<dot>lisp file

L
Lisp File, cl-arxiv-api.asd: The cl-arxiv-api<dot>asd file
Lisp File, cl-arxiv-api/cl-arxiv-api.lisp: The cl-arxiv-api/cl-arxiv-api<dot>lisp file
Lisp File, cl-arxiv-api/compose-query.lisp: The cl-arxiv-api/compose-query<dot>lisp file
Lisp File, cl-arxiv-api/oai-pmh.lisp: The cl-arxiv-api/oai-pmh<dot>lisp file
Lisp File, cl-arxiv-api/package.lisp: The cl-arxiv-api/package<dot>lisp file
Lisp File, cl-arxiv-api/parse-query.lisp: The cl-arxiv-api/parse-query<dot>lisp file

Jump to:   C   F   L  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   %  
A   C   D   E   F   G   H   M   P   Q   S   T   U  
Index Entry  Section

%
%parse-arxiv-response: Internal functions
%serialize-query: Internal functions

A
arxiv-get: Exported functions
arxiv-get-raw: Exported functions
arxiv-get-record: Internal functions
arxiv-identify: Internal functions
arxiv-list-all-identifiers: Internal functions
arxiv-list-all-records: Internal functions
arxiv-list-all-sets: Internal functions
arxiv-list-identifiers: Internal functions
arxiv-list-metadata-formats: Internal functions
arxiv-list-records: Internal functions
arxiv-list-sets: Internal functions
arxiv-nasty-verb: Internal functions
atomic-query-p: Internal functions

C
camelcaseize: Internal functions
compose-oai-pmh-request: Internal functions
composite-query-p: Internal functions

D
define-all-fetcher: Internal macros
define-default-parser: Internal macros
define-default-parser-for: Internal macros
define-integer-parser: Internal macros
define-integer-parser-for: Internal macros
define-parser: Internal macros

E
empty-line-p: Internal functions
ensure-namespace-free: Internal functions
error-message: Internal functions
error-symbol: Internal functions

F
fail-parse: Internal macros
Function, %parse-arxiv-response: Internal functions
Function, %serialize-query: Internal functions
Function, arxiv-get: Exported functions
Function, arxiv-get-raw: Exported functions
Function, arxiv-get-record: Internal functions
Function, arxiv-identify: Internal functions
Function, arxiv-list-all-identifiers: Internal functions
Function, arxiv-list-all-records: Internal functions
Function, arxiv-list-all-sets: Internal functions
Function, arxiv-list-identifiers: Internal functions
Function, arxiv-list-metadata-formats: Internal functions
Function, arxiv-list-records: Internal functions
Function, arxiv-list-sets: Internal functions
Function, arxiv-nasty-verb: Internal functions
Function, atomic-query-p: Internal functions
Function, camelcaseize: Internal functions
Function, compose-oai-pmh-request: Internal functions
Function, composite-query-p: Internal functions
Function, empty-line-p: Internal functions
Function, ensure-namespace-free: Internal functions
Function, error-message: Internal functions
Function, error-symbol: Internal functions
Function, get-parsers: Internal functions
Function, group2: Internal functions
Function, hash->assoc: Internal functions
Function, http-retrying-get: Internal functions
Function, http-simple-get: Internal functions
Function, parse-arxiv-response: Exported functions
Function, parse-as-list: Internal functions
Function, parse-oai-pmh-response: Internal functions
Function, query-head: Internal functions
Function, serialize-query: Internal functions
Function, subcamcaseize: Internal functions
Function, try-to-descend: Internal functions
Function, understand-spec: Internal functions

G
get-parsers: Internal functions
group2: Internal functions

H
hash->assoc: Internal functions
http-retrying-get: Internal functions
http-simple-get: Internal functions

M
Macro, define-all-fetcher: Internal macros
Macro, define-default-parser: Internal macros
Macro, define-default-parser-for: Internal macros
Macro, define-integer-parser: Internal macros
Macro, define-integer-parser-for: Internal macros
Macro, define-parser: Internal macros
Macro, fail-parse: Internal macros

P
parse-arxiv-response: Exported functions
parse-as-list: Internal functions
parse-oai-pmh-response: Internal functions

Q
query-head: Internal functions

S
serialize-query: Internal functions
subcamcaseize: Internal functions

T
try-to-descend: Internal functions

U
understand-spec: Internal functions

Jump to:   %  
A   C   D   E   F   G   H   M   P   Q   S   T   U  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *  
C   E   H   R   S  
Index Entry  Section

*
*arxiv-api-url*: Internal special variables
*bkup-of-list-sets*: Internal special variables
*default-namespace*: Internal special variables
*err-code->sym*: Internal special variables
*known-responses*: Internal special variables
*known-verbs*: Internal special variables
*method-names*: Internal special variables
*namespace-map*: Internal special variables
*oai-pmh-url*: Internal special variables
*parsers*: Internal special variables
*query-connectives*: Internal special variables
*query-params-abbrevs*: Internal special variables
*response-parsers*: Internal special variables
*sample-xml-with-resumption-token*: Internal special variables
*valid-errors*: Internal special variables

C
code: Internal conditions

E
errors: Internal conditions

H
headers: Internal conditions

R
rest: Internal conditions

S
Slot, code: Internal conditions
Slot, errors: Internal conditions
Slot, headers: Internal conditions
Slot, rest: Internal conditions
Special Variable, *arxiv-api-url*: Internal special variables
Special Variable, *bkup-of-list-sets*: Internal special variables
Special Variable, *default-namespace*: Internal special variables
Special Variable, *err-code->sym*: Internal special variables
Special Variable, *known-responses*: Internal special variables
Special Variable, *known-verbs*: Internal special variables
Special Variable, *method-names*: Internal special variables
Special Variable, *namespace-map*: Internal special variables
Special Variable, *oai-pmh-url*: Internal special variables
Special Variable, *parsers*: Internal special variables
Special Variable, *query-connectives*: Internal special variables
Special Variable, *query-params-abbrevs*: Internal special variables
Special Variable, *response-parsers*: Internal special variables
Special Variable, *sample-xml-with-resumption-token*: Internal special variables
Special Variable, *valid-errors*: Internal special variables

Jump to:   *  
C   E   H   R   S  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   A   B   C   H   I   N   O   P   S  
Index Entry  Section

A
arxiv-parse-error: Internal conditions

B
bad-argument: Internal conditions
bad-resumption-token: Internal conditions
bad-verb: Internal conditions

C
cannot-disseminate-format: Internal conditions
cl-arxiv-api: The cl-arxiv-api system
cl-arxiv-api: The cl-arxiv-api package
Condition, arxiv-parse-error: Internal conditions
Condition, bad-argument: Internal conditions
Condition, bad-resumption-token: Internal conditions
Condition, bad-verb: Internal conditions
Condition, cannot-disseminate-format: Internal conditions
Condition, http-get-error: Internal conditions
Condition, id-does-not-exist: Internal conditions
Condition, no-metadata-formats: Internal conditions
Condition, no-records-match: Internal conditions
Condition, no-set-hierarchy: Internal conditions
Condition, oai-pmh-error: Internal conditions

H
http-get-error: Internal conditions

I
id-does-not-exist: Internal conditions

N
no-metadata-formats: Internal conditions
no-records-match: Internal conditions
no-set-hierarchy: Internal conditions

O
oai-pmh-error: Internal conditions

P
Package, cl-arxiv-api: The cl-arxiv-api package

S
System, cl-arxiv-api: The cl-arxiv-api system

Jump to:   A   B   C   H   I   N   O   P   S