biotite.database.rcsb.Query

class biotite.database.rcsb.Query[source]

Bases: object

A representation of a JSON query for the RCSB search API.

This is the abstract base class for all queries.

abstract get_content()

Get the query content, i.e. the data belonging to the 'query' attribute in the RCSB search API.

This content is converted into JSON by the search() and count() functions.

Returns
contentdict

The content dictionary for the 'query' attributes.