@rzaniboni/gatsby-source-pluralsight
v1.0.5
Published
A Gatsby source plugin for pulling data from your Pluralsight profile page.
Downloads
1
Maintainers
Readme
gatsby-source-pluralsight
A Gatsby source plugin for pulling data from your Pluralsight profile page.
Installation
With npm:
npm install --save gatsby-source-pluralsight
Or with Yarn:
yarn add gatsby-source-pluralsight
Usage
In your gatsby-config.js
file add:
module.exports = {
plugins: [
{
resolve: 'gatsby-source-pluralsight',
options: {
username: 'your pluralsight username'
}
}
]
}
Then run gatsby build && gatsby serve
or gatsby develop
to create the source nodes.
If your project successfully created the nodes. You should be able to query them in the GraphiQL endpoint (http://localhost:8000/___graphql
) of you site.
Completed Courses
{
allPluralsightCourse {
edges {
node {
courseId,
courseName,
title,
duration,
level,
timeCompleted,
authors {
firstName
lastName
handle
displayName
}
}
}
}
}
Skills
{
allPluralsightSkill {
edges {
node {
code
type
title
score
level
percentile
dateCompleted
url
thumbnailUrl
}
}
}
}
Maintainers
Contributing
If you would like to help out with some code, check the details.
Not a coder, but still want to support? Have a look at the options available to donate.
License
Licensed under MIT.