1.0.2 • Published 4 years ago

gatsby-source-yell v1.0.2

Weekly downloads
62
License
MIT
Repository
github
Last release
4 years ago

gatsby-source-yell

npm i gatsby-source-yell
yarn add gatsby-source-yell

Want to show your Yell reviews in your Gatsby application? Then this is the package for you.

Install this package, and add 'gatsby-source-yell' to your plugins array in gatsby-config.js.

You must have a variable in your .env file called YELL_BUSINESS_ID. You can find this by visiting your page on Yell here. Your Business ID will then be rapid-formations-london-8353622.

Once you have added the environment variable above, you can run gatsby develop. Proceed to the GraphQL interface e.g. localhost:3000/___graphql.

You can then run the following query to fetch all your Yell reviews.

{
  allYellReview {
    edges {
      node {
        id
        author
        title
        content
        score
        createdAt
      }
    }
  }
}
1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.2

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.10

4 years ago

0.0.11

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago