astropy:docs
  • Index
  • Modules

Navigation

  • next »
  • « previous |
  • pyvo v0.6.0 »
  • PyVO User’s Guide »
  • PyVO Reference Guide »
  • The pyvo.dal Package »
  • search

search¶

pyvo.dal.tap.search(url, query, language='ADQL', maxrec=None, uploads=None, **keywords)[source]¶

submit a Table Access query that returns rows matching the criteria given.

Parameters:

url : str

the base URL of the query service.

query : str, dict

The query string / parameters

language : str

specifies the query language, default ADQL. useful for services which allow to use the backend query language.

maxrec : int

specifies the maximum records to return. defaults to the service default

uploads : dict

a mapping from table names to file like objects containing a votable

Returns:

TAPResults

a container holding a table of matching catalog records

Raises:

DALServiceError

for errors connecting to or communicating with the service.

DALQueryError

if the service responds with an error, including a query syntax error.

Page Contents

  • search

Page Source   Back to Top

© Copyright 2017, the Virtual Astronomical Observatory (VAO).
Created using Sphinx 1.5.2.   Last built 11 Apr 2017.