Description Usage Arguments Value Examples
This function retrieves a list of basic yarn details based on search terms.
1 2 |
query |
search string |
page |
result page to retrieve; defaults to first page |
page_size |
number of results to retrieve; defaults to 100 |
sort |
options: 'best', 'rating', 'projects' |
... |
pass any other filter parameters available via https://www.ravelry.com/yarns/search (ex. weight, needles, photo, fiberc, ya, ratings, origin) |
tibble containing basic pattern details, some nested
1 2 3 4 | ## Not run: search_yarn(query = 'cascade', page_size = 10)
# using site search parameters
## Not run: search_yarn(query = 'cascade', sort = 'best', weight = 'sport', needles = '3.75mm')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.