Ravelry
App · 7 actions
Find knitting and crochet patterns and yarns in the Ravelry catalog.
Actions
| Action | What it does |
|---|---|
| Get pattern | Read one Ravelry pattern by ID. |
| Get profile | Read the connected Ravelry account profile. |
| Get yarn | Read one Ravelry yarn by ID. |
| List pattern categories | Read Ravelry’s pattern category hierarchy. |
| List yarn weights | Read the yarn weight names used by Ravelry. |
| Search patterns | Find patterns by name in Ravelry. |
| Search yarns | Find yarns by name in Ravelry. |
Get pattern
Read one Ravelry pattern by ID.
Inputs
- Pattern id
pattern_idtextRequired - The ID from Search patterns.
Outputs
dataobject- Data.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page, when available.
Example output
{
"data": {
"pattern": {
"id": 1,
"name": "Sample Shawl",
"permalink": "sample-shawl"
}
},
"has_more": false,
"next_cursor": null
}Get profile
Read the connected Ravelry account profile.
Inputs
None.
Outputs
dataobject- Data.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page, when available.
Example output
{
"data": {
"user": {
"id": 1,
"username": "crafter"
}
},
"has_more": false,
"next_cursor": null
}Get yarn
Read one Ravelry yarn by ID.
Inputs
- Yarn id
yarn_idtextRequired - The ID from Search yarns.
Outputs
dataobject- Data.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page, when available.
Example output
{
"data": {
"yarn": {
"id": 2,
"name": "Sample Yarn",
"permalink": "sample-yarn"
}
},
"has_more": false,
"next_cursor": null
}List pattern categories
Read Ravelry’s pattern category hierarchy.
Inputs
None.
Outputs
dataobject- Data.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page, when available.
Example output
{
"data": {
"pattern_categories": {
"children": [],
"id": 301,
"name": "Categories"
}
},
"has_more": false,
"next_cursor": null
}List yarn weights
Read the yarn weight names used by Ravelry.
Inputs
None.
Outputs
dataobject- Data.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page, when available.
Example output
{
"data": {
"yarn_weights": [
{
"id": 1,
"name": "Lace"
}
]
},
"has_more": false,
"next_cursor": null
}Search patterns
Find patterns by name in Ravelry.
Inputs
- Query
querytextRequired - Enter a name or keyword.
- Page
pagenumber - Page of matching records to return.At least 1.
- Limit
limitnumber - Maximum results on a page.From 1 to 100.
Outputs
dataobject- Data.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page, when available.
Example output
{
"data": {
"paginator": {
"page": 1,
"page_count": 1,
"page_size": 5,
"results": 1
},
"patterns": [
{
"id": 1,
"name": "Sample Shawl",
"permalink": "sample-shawl"
}
]
},
"has_more": false,
"next_cursor": null
}Search yarns
Find yarns by name in Ravelry.
Inputs
- Query
querytextRequired - Enter a name or keyword.
- Page
pagenumber - Page of matching records to return.At least 1.
- Limit
limitnumber - Maximum results on a page.From 1 to 100.
Outputs
dataobject- Data.
has_moretrue/false- Whether another page is available.
next_cursortext- Continuation value for the next page, when available.
Example output
{
"data": {
"paginator": {
"page": 1,
"page_count": 1,
"page_size": 5,
"results": 1
},
"yarns": [
{
"id": 2,
"name": "Sample Yarn",
"permalink": "sample-yarn"
}
]
},
"has_more": false,
"next_cursor": null
}