{"_id":"5a0e3156ff22d5001e958e24","project":"5508a8940f146f3500b031c9","version":{"_id":"5508a8950f146f3500b031cc","__v":4,"project":"5508a8940f146f3500b031c9","createdAt":"2015-03-17T22:20:05.001Z","releaseDate":"2015-03-17T22:20:05.001Z","categories":["5508a8950f146f3500b031cd","5a0e2e283bb0d9001c09e3e1","5a0e2f9844969800124f4d3a","5a0e2fdcc96bc7001288e17d"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"5a0e2fdcc96bc7001288e17d","project":"5508a8940f146f3500b031c9","version":"5508a8950f146f3500b031cc","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2017-11-17T00:39:56.122Z","from_sync":false,"order":1,"slug":"heartbeat","title":"Routes"},"user":"5508a87b99a1832100bf9569","githubsync":"","__v":5,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-11-17T00:46:14.360Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"language":"shell","code":"curl \"https://fishbase.ropensci.org/comnames?limit=1\" |  jq ."},{"code":"library(\"rfishbase\")\ncommon_names(species_list = \"Bolbometopon muricatum\")","language":"r","name":null}]},"results":{"codes":[{"name":"","code":"{\n  \"count\": 319060,\n  \"returned\": 1,\n  \"data\": [\n    {\n      \"autoctr\": 236404,\n      \"ComName\": \" ???????\",\n      \"Transliteration\": \"Varimeen\",\n      \"StockCode\": 135,\n      \"SpecCode\": 121,\n      \"C_Code\": \"356\",\n      \"Language\": \"Telugu\",\n      \"Script\": \"Telugu\",\n...","language":"json","status":200},{"language":"r","code":"# A tibble: 64 x 6\n            ComName SpecCode C_Code         Language        Genus   Species\n              <chr>    <int>  <chr>            <chr>        <chr>     <chr>\n 1        Aliyakyak     5537    608          Visayan Bolbometopon muricatum\n 2            Angke     5537    360 Bahasa Indonesia Bolbometopon muricatum\n 3            Angke     5537    360             Bajo Bolbometopon muricatum\n 4            Angke     5537    360            Malay Bolbometopon muricatum\n 5            Angol     5537    608            Bikol Bolbometopon muricatum\n 6            Bayan     5537    458            Malay Bolbometopon muricatum\n 7    Bayan bonggol     5537    458            Malay Bolbometopon muricatum\n 8         Berdebed     5537    585          Palauan Bolbometopon muricatum\n 9            Boila     5537    090             Gela Bolbometopon muricatum\n10 Bulepapegøjefisk     5537    208           Danish Bolbometopon muricatum\n# ... with 54 more rows"}]},"settings":"","method":"get","auth":"required","params":[{"_id":"5a0e4a7cc01242001cac3e74","ref":"","in":"query","required":false,"desc":"number of records to return","default":"10","type":"int","name":"limit"},{"_id":"5a0e4a7cc01242001cac3e73","ref":"","in":"query","required":false,"desc":"record number to start at","default":"0","type":"int","name":"offset"},{"_id":"5a0e4a7cc01242001cac3e72","ref":"","in":"query","required":false,"desc":"Comma-separated string of fields to return","default":"","type":"string","name":"fields"},{"_id":"5a1cdcc167d310001245b37d","ref":"","in":"header","required":false,"desc":"Version accept header","default":"application/vnd.ropensci.v8+json","type":"string","name":"Accept"}],"url":"/comnames"},"isReference":false,"order":4,"body":"[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Additional Query Parameters\",\n  \"body\": \"In addition to the query parameters listed (limit, offset, fields) you should be able to query on any of the keys in the response body.\"\n}\n[/block]","excerpt":"","slug":"comnames","type":"endpoint","title":"comnames"}

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

limit:
integer10
number of records to return
offset:
integer0
record number to start at
fields:
string
Comma-separated string of fields to return

Headers

Accept:
stringapplication/vnd.ropensci.v8+json
Version accept header

Examples


Result Format


Documentation

[block:callout] { "type": "info", "title": "Additional Query Parameters", "body": "In addition to the query parameters listed (limit, offset, fields) you should be able to query on any of the keys in the response body." } [/block]

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}