GithubHelp home page GithubHelp logo

dest81 / pynstagram Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mr0re1/pynstagram

0.0 1.0 0.0 10 KB

Python library that allows you to upload photos to instagram

License: MIT License

Python 100.00%

pynstagram's Introduction

Build Status PyPi

Pynstagram

Pynstagram is small python module and CLI tool that allows you to upload photo to Instagram.

CLI tool

pynstagram -u username -f ~/kittens/31415.jpg -t '#meow'

Module

import pynstagram

with pynstagram.client('username', 'password') as client:
	client.upload('~/kittens/31415.jpg', '#meow')

Installation

pip install pynstagram

Usage tips

To use a line break in caption text you need to properly escape \n symbol. There are few options:

  • Use $' . . . ' escaping.
pynstagram -u username -f ~/kittens/31415.jpg -t $'line\nbreak'
  • Use multiline argument.
pynstagram -u username -f ~/kittens/31415.jpg -t "line
> break"

Disclaimer: Pynstagram uses private API of Instagram, there is no guaranty that this library will work in the future. Instagram may not like that you use private API.

Many kudos to Lance G. Newman for his article.

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.