Skip to content

Latest commit

 

History

History
197 lines (154 loc) · 6.29 KB

README.md

File metadata and controls

197 lines (154 loc) · 6.29 KB

API.imjustgood.com

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.

PyPI Python Update License npm

Installation

You can install this library via npm or by cloning the GitHub repository.

Using npm

  1. Install the library in your Node.js project using npm:

    npm install justgood
  2. 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);

Using git clone

  1. You can clone the repository from GitHub using the following command:

    git clone https://github.com/goodop/api.imjustgood.com
  2. Install the library's dependencies:

    cd api.imjustgood.com
    npm install
  3. 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);

API Key Requirement

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.

Example Usage

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);
  });

License

This project is licensed under the BSD 3-Clause License. See the LICENSE file for details.

Documentation

This library provides methods to scrape content from various social media platforms.

YouTube

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);

Tiktok Profile

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);

Instagram Profile

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);

Twitter Profile

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);

Smule Profile

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);

Youtube Downloader

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);

Instagram Post Downloader

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);

Twitter Downloader

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);

TikTok Downloader

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);

Smule Downloader

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);