1.2.3 • Published 1 year ago
instagram-auto-post-maker v1.2.3
instagram-auto-post-maker
Create posts with qoutes using html and css as the base template
Installation
npm i instagram-auto-post-maker --save
Usage
import { create } from "instagram-auto-post-maker";
create({
max_quote_words: 50,
min_quote_words: 20,
quote_generator_api: "https://programming-quotesapi.vercel.app/api/random",
api_quote_key: "quote",
api_series_key: "",
api_character_key: "author",
template_file: "./templates/example.html",
});
Options
instagram-auto-post-maker requires 10 options
- maxquote_words - **_maximum amount of words quote should have** (Defaults to 50)
- minquote_words - **_minimum amount of words quote should have** (Defaults to 1)
- quotegenerator_api - **_api link to get random quotes**
- apiquote_key - **_quote key in api**
- apiseries_key - **_movie/series/tvshow/anime key in api** (Defaults to "")
- apicharacter_key - **_character/author (person who says) key in api**
- templatefile - **_template file path**
- customsearch - **_custom google search for image if we don't want a picture of the author as background set true if using and assign custom_search_keywords** (Defaults to false)
- customsearch_keywords - **_custom google search keywords** (Defaults to "")
- extragoogle_search_keywords - **_extra keywords for searching a background for the author of quote** (Defaults to "")
License
MIT License © 2023 Omer Mohideen