ZINC api: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
* [[How to link to ZINC]] | * [[How to link to ZINC]] | ||
* [[ZINC scripts]] | * [[ZINC scripts]] | ||
* [[Zinc exact lookup by http]] | |||
= ZINC api (r/w) = | = ZINC api (r/w) = |
Revision as of 13:39, 1 May 2014
Here we explain how to access ZINC programmatically. Currently, there are a number of pages on this topic, which we intend to re-write in a more formal way.
- ZINC:Command language
- Get ZINC under program control
- How to link to ZINC
- ZINC scripts
- Zinc exact lookup by http
ZINC api (r/w)
models defines tables, what columns they have, relationships
managers defines higher-level common queries
The ZINC api is composed of many managers (one for substances, one for catalogs, one for targets, etc)
You can do things like this with a manager:
in_stock = zinc.catalogs.query(Catalog.purchasbility==1)