Match yarns to Ravelry
match_yarnsMatch text from ball bands or receipts to a Ravelry yarn. Provide label details to get best match, confidence, and alternatives for stash or detail lookups.
Instructions
Finds the Ravelry yarn behind text read from a ball band, receipt or invoice. Pass one item per yarn with the raw label plus whatever you could read (brand, name, weight, fiber, yards/meters and grams per skein). Returns the best match with a confidence and alternatives; use the yarn ids with add_to_my_stash or get_yarn_details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matches | Yes |