This Node.js library provides easy access to the API.imjustgood.com API, allowing you to interact with various features and functionalities offered by the service.
█ █▀▄▀█ █ █ █ █▀ ▀█▀ █▀▀ █▀█ █▀█ █▀▄
█ █ ▀ █ █▄█ █▄█ ▄█ █ █▄█ █▄█ █▄█ █▄▀
api media service bridge for your code.
You can install this library via npm or by cloning the GitHub repository.
-
Install the library in your Node.js project using npm:
npm install justgood
-
In your project, require the library and create an instance of Imjustgood by providing your API key:
const Imjustgood = require('justgood'); const apiKey = 'your-api-key'; const imjustgood = new Imjustgood(apiKey);
-
You can clone the repository from GitHub using the following command:
git clone https://github.com/goodop/api.imjustgood.com
-
Install the library's dependencies:
cd api.imjustgood.com npm install
-
In your project, require the library and create an instance of Imjustgood by providing your API key:
const Imjustgood = require('justgood'); const apiKey = 'your-api-key'; const imjustgood = new Imjustgood(apiKey);
To use this library, you'll need an API key, which serves as a private key and can be obtained by contacting our team. The API key is necessary to improve server security and maintenance.
Here's an example of how to use this library to call the status method and get the server status:
const Imjustgood = require('justgood');
const apiKey = 'your-api-key';
const imjustgood = new Imjustgood(apiKey);
// Example: Call the status method
imjustgood.status()
.then(response => {
console.log(response);
})
.catch(error => {
console.error(error);
});
This project is licensed under the BSD 3-Clause License. See the LICENSE file for details.
This library provides methods to scrape content from various social media platforms.
To retrieve YouTube content, use the youtube
method. Provide the query as the parameter.
// Example: Get YouTube content
const query = 'your-query';
const result = imjustgood.youtube(query);
console.log(result);
For TikTok content, use the tiktok
method. Pass the TikTok username as the parameter.
// Example: Get TikTok content
const username = 'tiktok-username';
const result = imjustgood.tiktok(username);
console.log(result);
To fetch content from Instagram, use the instagram
method with the Instagram username.
// Example: Get Instagram content
const username = 'instagram-username';
const result = imjustgood.instagram(username);
console.log(result);
For Twitter content, use the twitter
method with the Twitter username
// Example: Get Twitter content
const username = 'twitter-username';
const result = imjustgood.twitter(username);
console.log(result);
For Smule content, use the smule
method with the Twitter username
// Example: Get Smule content
const username = 'smule-username';
const result = imjustgood.smule(username);
console.log(result);
To download content from YouTube, use the youtubedl
method. Provide the YouTube video URL as the parameter.
// Example: Download a YouTube video
const videoUrl = 'https://www.youtube.com/watch?v=your-video-id';
const result = imjustgood.youtubedl(videoUrl);
console.log(result);
To download Instagram posts, use the instapost
method with the Instagram post URL.
// Example: Download an Instagram post
const postUrl = 'https://www.instagram.com/p/your-post-id/';
const result = imjustgood.instapost(postUrl);
console.log(result);
For downloading Twitter videos or Photos, use the twitterdl
method with the Twitter video URL.
// Example: Download a Twitter video or Photos
const Url = 'https://twitter.com/username/status/url';
const result = imjustgood.twitterdl(Url);
console.log(result);
For TikTok video downloads, use the tiktokdl
method. Pass the TikTok video URL as the parameter.
// Example: Download a TikTok video
const videoUrl = 'https://www.tiktok.com/@username/video/video-url';
const result = imjustgood.tiktokdl(videoUrl);
console.log(result);
For Smule video or Audio downloads, use the smuledl
method. Pass the Smule Post URL as the parameter.
// Example: Download a Smule video or Audio
const videoUrl = 'https://www.smule.com/@username/url';
const result = imjustgood.smuledl(videoUrl);
console.log(result);