2.0.6 • Published 5 years ago

gatsby-source-soundcloud v2.0.6

Weekly downloads
22
License
MIT
Repository
github
Last release
5 years ago

gatsby-source-soundcloud

A gatsby source plugin for fetching all the tracks and playlists (sets) for a SoundCloud user.

Learn more about Gatsby plugins and how to use them here: https://www.gatsbyjs.org/docs/plugins/

Install

npm install --save gatsby-source-soundcloud

gatsby-config.js

plugins: [
  {
    resolve: `gatsby-source-soundcloud`,
    options: {
      userID: '<<SoundCloud UserID eg. 6058227 >>',
      clientID: '<< Add your SoundCloud client_id here>>'
    },
  },
  ...
]

Examples of how to query:

Get all the playlists:

{
  allSoundcloudplaylist {
    edges {
      node {
        title
        description
        tracks
      }
    }
  }
}

Get the title and description of all tracks:

{
  allSoundcloudtrack {
    edges {
      node {
        title
        description
      }
    }
  }
}
2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.0

6 years ago