- Notifications
You must be signed in to change notification settings - Fork0
This is the JavaScript request method for api.imjustgood.com. With it, you can seamlessly interact with our API, retrieving data and performing various operations effortlessly in your web or mobile applications.
License
goodop/api.imjustgood.com
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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:
constImjustgood=require('justgood');constapiKey='your-api-key';constimjustgood=newImjustgood(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.comnpm install
In your project, require the library and create an instance of Imjustgood by providing your API key:
constImjustgood=require('justgood');constapiKey='your-api-key';constimjustgood=newImjustgood(apiKey);
To use this library, you'll need an API key, which serves as a private key and can be obtained by contacting ourteam. 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:
constImjustgood=require('justgood');constapiKey='your-api-key';constimjustgood=newImjustgood(apiKey);// Example: Call the status methodimjustgood.status().then(response=>{console.log(response);}).catch(error=>{console.error(error);});
This project is licensed under the BSD 3-Clause License. See theLICENSE file for details.
This library provides methods to scrape content from various social media platforms.
To retrieve YouTube content, use theyoutube
method. Provide the query as the parameter.
// Example: Get YouTube contentconstquery='your-query';constresult=imjustgood.youtube(query);console.log(result);
For TikTok content, use thetiktok
method. Pass the TikTok username as the parameter.
// Example: Get TikTok contentconstusername='tiktok-username';constresult=imjustgood.tiktok(username);console.log(result);
To fetch content from Instagram, use theinstagram
method with the Instagram username.
// Example: Get Instagram contentconstusername='instagram-username';constresult=imjustgood.instagram(username);console.log(result);
For Twitter content, use thetwitter
method with the Twitter username
// Example: Get Twitter contentconstusername='twitter-username';constresult=imjustgood.twitter(username);console.log(result);
For Smule content, use thesmule
method with the Twitter username
// Example: Get Smule contentconstusername='smule-username';constresult=imjustgood.smule(username);console.log(result);
To download content from YouTube, use theyoutubedl
method. Provide the YouTube video URL as the parameter.
// Example: Download a YouTube videoconstvideoUrl='https://www.youtube.com/watch?v=your-video-id';constresult=imjustgood.youtubedl(videoUrl);console.log(result);
To download Instagram posts, use theinstapost
method with the Instagram post URL.
// Example: Download an Instagram postconstpostUrl='https://www.instagram.com/p/your-post-id/';constresult=imjustgood.instapost(postUrl);console.log(result);
For downloading Twitter videos or Photos, use thetwitterdl
method with the Twitter video URL.
// Example: Download a Twitter video or PhotosconstUrl='https://twitter.com/username/status/url';constresult=imjustgood.twitterdl(Url);console.log(result);
For TikTok video downloads, use thetiktokdl
method. Pass the TikTok video URL as the parameter.
// Example: Download a TikTok videoconstvideoUrl='https://www.tiktok.com/@username/video/video-url';constresult=imjustgood.tiktokdl(videoUrl);console.log(result);
For Smule video or Audio downloads, use thesmuledl
method. Pass the Smule Post URL as the parameter.
// Example: Download a Smule video or AudioconstvideoUrl='https://www.smule.com/@username/url';constresult=imjustgood.smuledl(videoUrl);console.log(result);
About
This is the JavaScript request method for api.imjustgood.com. With it, you can seamlessly interact with our API, retrieving data and performing various operations effortlessly in your web or mobile applications.