Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bradgarropy/captivate-sdk

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bradgarropy/captivate-sdk

🎤 captivate sdk

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

🎤 captivate sdk

version downloads size github actions coverage typescript contributing contributors discord

Captivate JavaScript SDK for retrieving podcast information.

📦 Installation

This package is hosted on npm.

npm install @bradgarropy/captivate-sdk

🥑 Usage

Start off by creating a Captivate client, then authenticate to the Captivate API. Now you can use the client to retrieve your podcast shows and episodes.

const captivate = new Captivate("abc123", "123456789")

const show = await captivate.shows.getShow("abc123")
const episode = await captivate.episodes.getEpisode("xyz123")

📖 API Reference

Captivate(userId, apiKey)

NameTypeExampleDescription
userIdstring"abc123"Captivate user id.
apiKeystring"123456789"Captivate api key.

Create a Captivate client.

const captivate = new Captivate("abc123", "123456789")

captivate.authentication.authenticateUser()

Authenticate a user to the Captivate API.

captivate.authentication.authenticateUser()

captivate.users.getUser(userId)

NameTypeExampleDescription
userIdstring"abc123"User id.

Get a user.

captivate.users.getUser("abc123")

captivate.users.getUsersShows(userId)

NameTypeExampleDescription
userIdstring"abc123"User id.

Get a list of podcasts that a user belongs to.

captivate.users.getUsersShows("abc123")

captivate.users.getUsersManagedShows(userId)

NameTypeExampleDescription
userIdstring"abc123"User id.

Get a list of podcasts that a user manages.

captivate.users.getUsersManagedShows("abc123")

captivate.shows.getShow(showId)

NameTypeExampleDescription
showIdstring"abc123"Podcast show id.

Get a podcast.

captivate.shows.getShow("abc123")

captivate.shows.updateShow()

// TODO

captivate.shows.updateShowArtwork()

// TODO

captivate.shows.getShowEpisodes(showId)

NameTypeExampleDescription
showIdstring"abc123"Podcast show id.

Get all episodes from a podcast.

captivate.shows.getShowEpisodes("abc123")

captivate.shows.getShowScheduledEpisodes()

// TODO

captivate.shows.getShowFeedUrl()

// TODO

captivate.media.getMedia()

// TODO

captivate.media.uploadMedia()

// TODO

captivate.media.getShowMedia()

// TODO

captivate.media.searchShowMedia()

// TODO

captivate.episodes.getEpisode(episodeId)

NameTypeExampleDescription
episodeIdstring"xyz123"Podcast episode id.

Get a podcast episode.

captivate.episodes.getEpisode("xyz123")

captivate.episodes.createEpisode()

// TODO

captivate.episodes.updateEpisode()

// TODO

❔ Questions

🐛 report bugs by filing issues
📢 provide feedback with issues or on twitter
🙋🏼‍♂️ use my ama or twitter to ask any other questions

✨ contributors


Brad Garropy

💻 📖 ⚠️ 🚇

Keywords

FAQs

Package last updated on 21 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc