Git Product home page Git Product logo

autoquotes's Introduction

AutoQuotes

This is a simple python script that allows you to create a post for Instagram that contains a quote that accompanies a randomly chosen background from Unspash.

Instalation

  1. Clone or Download this repo

git clone https://github.com/fermarval/AutoQuotes.git

  1. Go to the directory

cd AutoQuotes

  1. Install the dependencies

pip install -r requirements.txt

  1. Duplicate and rename the file config.example.json to config.json

  2. Edit the file config.json with your data

  • ig_username : Instagram account user where the image will be uploaded
  • ig_password : The account password
  • client_id: Unspash application access key
  • client_secret: Unspash application secret key
  • redirect_uri : Unsplash rediect uri (Default: "/")
  • topic : Topic for the query of images (Example: "Architecture")
  • index : 0, Index of the quote (not edit, it is updated automatically) (Default: 0)
  • timeout : Time between upload photos in seconds (Example: 600)
  • tags: List of tags for the subject of the photo

Run

Execute this command python autoquotes.py <number of quotes>. Example, for 1 upload quotes image:

python autoquotes.py 1

autoquotes's People

Contributors

fmarmolejo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.