Ravelry

App · 7 actions

Find knitting and crochet patterns and yarns in the Ravelry catalog.

Actions

ActionWhat it does
Get patternRead one Ravelry pattern by ID.
Get profileRead the connected Ravelry account profile.
Get yarnRead one Ravelry yarn by ID.
List pattern categoriesRead Ravelry’s pattern category hierarchy.
List yarn weightsRead the yarn weight names used by Ravelry.
Search patternsFind patterns by name in Ravelry.
Search yarnsFind yarns by name in Ravelry.

Get pattern

Read one Ravelry pattern by ID.

Inputs

Pattern idpattern_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 idyarn_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

QueryquerytextRequired
Enter a name or keyword.
Pagepagenumber
Page of matching records to return.At least 1.
Limitlimitnumber
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

QueryquerytextRequired
Enter a name or keyword.
Pagepagenumber
Page of matching records to return.At least 1.
Limitlimitnumber
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
}

On this page