
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
socialblade
Advanced tools
Just because I work for Social Blade does not mean this is an official library. Though it is used in Social Blade official products.
This library supports most of the api.socialblade.com
endpoints that are being exposed by either the official Social Blade Browser Extensions, Apps, or Website.
Social Blade's API is a private API used for Social Blade official tools and for companies with express written permission. Use of the Social Blade API without express permission is prohibited by the active Terms of Service and may result in being blocked from the Social Blade website and all of it's data.
npm install --save socialblade
Import the library into your project and construct a new client which will be used to access the API.
Use either the third-party Auth
function or first-party AuthAsUser
function to set the client as "active".
import { SocialBladeClient } from 'socialblade';
const socialblade: SocialBladeClient = new SocialBladeClient();
// Third-Party Auth
socialblade.Auth("Third-Party API Key").then((data: IDeveloper) => {
console.log(data)
});
// First-Party Auth
socialblade.AuthAsUser("User Email", "User Access Token").then((data: IUser) => {
console.log(data)
});
const SocialBladeClient = require("socialblade").SocialBladeClient;
const socialblade = new SocialBladeClient();
// Third-Party Auth
socialblade.Auth("Third-Party API Key").then(console.log)
// First-Party Auth
socialblade.AuthAsUser("User Email", "User Access Token").then(console.log)
More examples coming soon. Library still early development
If you have official access to the Social Blade API via express permission from the company then feel free to contact me via Twitter or email me for any help.
FAQs
Library for Social Blade's Official API in JavaScript (TypeScript)
The npm package socialblade receives a total of 873 weekly downloads. As such, socialblade popularity was classified as not popular.
We found that socialblade demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.