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

soundcloud-key-fetch

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

soundcloud-key-fetch

Fetch a SoundCloud API key without owning an app!

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.7K
increased by2.32%
Maintainers
1
Weekly downloads
 
Created
Source

Soundcloud Key Fetch

A simple module to fetch a SoundCloud API key without owning an application!
npm i soundcloud-key-fetch or yarn add soundcloud-key-fetch

API

sckey.fetchKey()
  • Returns an API key that was scraped from SoundCloud.
sckey.testKey(key)
  • Returns a boolean on whether or not the given key is valid.

Usage

Fetching a SoundCloud key
const sckey = require('soundcloud-key-fetch');

sckey.fetchKey().then(key => {
    console.log(key)
});

// await is also supported!

const key = await sckey.fetchKey();
Testing a SoundCloud key
const sckey = require('soundcloud-key-fetch');

sckey.testKey('SC-KEY').then(result => {
	// returns a boolean; true/false
	if(result) {
		console.log('The key works!')
	} else {
		console.log('The key didn't work.')
	}
});

// await is also supported!

const test = await sckey.testKey('SC-KEY');

Keywords

FAQs

Package last updated on 27 Jun 2020

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