Examples of querying the CSDMS model repository: Difference between revisions

From CSDMS
(Start new page for table of examples)
 
m (Add first three entries)
Line 1: Line 1:
Here are some examples of queries into the CSDMS model repository.
Here are some examples of queries into the CSDMS model repository.


{|
{| class="wikitable"
! style="text-align:left;"| Item
! Description
! Amount
! Query URL
|-
|-
|Orange
|List all models created by the user with the last name Tucker
|10
|[http://csdms.colorado.edu/mediawiki/api.php?action=ask&query=%5B%5BLast+name::Tucker%5D%5D&format=json <nowiki>http://csdms.colorado.edu/mediawiki/api.php?action=ask&query=[[Last+name::Tucker]]&format=json</nowiki>]
|-
|-
|Bread
|List all models written in C
|4
|<nowiki>http://csdms.colorado.edu/mediawiki/api.php?action=ask&query=[[Programming%20language::C]]&format=json</nowiki>
|-
|-
|Butter
|Really list all models written in C
|1
|<nowiki>http://csdms.colorado.edu/mediawiki/api.php?action=ask&query=[[Programming%20language::C]]|limit=10000&format=json</nowiki>
|}
|}

Revision as of 11:08, 9 March 2016

Here are some examples of queries into the CSDMS model repository.

Description Query URL
List all models created by the user with the last name Tucker http://csdms.colorado.edu/mediawiki/api.php?action=ask&query=[[Last+name::Tucker]]&format=json
List all models written in C http://csdms.colorado.edu/mediawiki/api.php?action=ask&query=[[Programming%20language::C]]&format=json
Really list all models written in C http://csdms.colorado.edu/mediawiki/api.php?action=ask&query=[[Programming%20language::C]]|limit=10000&format=json