Before using the API, please file an issue with your intention of using the API.
You can access the API at www.webcomponents.org/api/<method>. Example search API call: https://www.webcomponents.org/api/search/input.
GET /api/meta/:author
GET /api/meta/:owner/:repo
Optionally, you can provide a specific tagged release version
GET /api/meta/:owner/:repo/:version
GET /api/docs/:owner/:repo
Optionally, you can specify a specific version:
GET /api/docs/:owner/:repo/:version
GET /api/dependencies/:owner/:repo
GET /api/collections/:owner/:repo
GET /api/search/:query
There are several parameter options:
| name | description |
|---|---|
| noscore | If specified, results are not scored. Use when sorting is not important. |
| noresults | If specified, no results are returned. Use when only counts are required. |
| limit | A number specifying a maximum number of results in response. Default: 20 |
| count | If specified, requests an accurate count to be made |
| cursor | Cursor string from a previous search API query to get the next page of results |