User Tools

Site Tools


ultimate-api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
ultimate-api [2020/04/11 12:03] – [Query types] flackultimate-api [2020/04/11 12:10] flack
Line 154: Line 154:
  
 You have to use the value **sim** in the **type** parameter. You have to use the value **sim** in the **type** parameter.
 +
 You can limit the number of hits with the **limit** parameter. In this example we fetched the 5 most similar hits. You can limit the number of hits with the **limit** parameter. In this example we fetched the 5 most similar hits.
 The maximum allowed number of **limit** is 1000. The maximum allowed number of **limit** is 1000.
Line 315: Line 316:
    * **amount**: the amount value in mg. Default: 1, Min: 1, Max: 100. The **amount** can be specified for some, or all items in the **compounds** list. If the amount is not specified for an item in the **compounds** list, the "global" amount value is used for that item.    * **amount**: the amount value in mg. Default: 1, Min: 1, Max: 100. The **amount** can be specified for some, or all items in the **compounds** list. If the amount is not specified for an item in the **compounds** list, the "global" amount value is used for that item.
    * **currency**: Valid values are "USD", "EUR", "GBP". The default is "USD".    * **currency**: Valid values are "USD", "EUR", "GBP". The default is "USD".
-   * **individual**: If //true// you will get individual prices for the compounds. If //false// you get "collective" prices for the compounds which means you will get prices in the context when you intend to "order" the compounds together. These "collective" prices take into account possible price jumps or other factors that might result in lower prices. The default value is //false//.+   * **individual**: If //true// you will get individual prices for the compounds. If //false// you will get "collective" prices for the compounds which means you will get prices in the context when you intend to "order" the compounds together. These "collective" prices take into account possible price jumps or other factors that might result in lower prices. The default value is //false//.
  
  
ultimate-api.txt · Last modified: 2021/05/25 14:27 by flack