All Projects → b3nab → Instapy Cli

b3nab / Instapy Cli

Licence: mit
✨ Python library and CLI to upload photo and video on Instagram. W/o a phone!

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Instapy Cli

Instagram Api Python
Unofficial instagram API, give you access to ALL instagram features (like, follow, upload photo and video and etc)! Write on python.
Stars: ✭ 2,357 (+373.29%)
Mutual labels:  api, instagram-api, library, instagram
Swiftagram
A modern Swift wrapper for Instagram Private API.
Stars: ✭ 100 (-79.92%)
Mutual labels:  api, instagram-api, upload, instagram
Swiftinstagram
Instagram API client written in Swift
Stars: ✭ 570 (+14.46%)
Mutual labels:  api, instagram-api, instagram, instagram-client
Instagram Php Scraper
Get account information, photos, videos, stories and comments.
Stars: ✭ 2,490 (+400%)
Mutual labels:  instagram-api, instagram, instagram-client
Instagramlive Php
A PHP script that allows for you to go live on Instagram with any streaming program that supports RTMP!
Stars: ✭ 362 (-27.31%)
Mutual labels:  instagram-api, instagram, instagram-client
Instagrapi
Fast and effective Instagram Private API wrapper
Stars: ✭ 157 (-68.47%)
Mutual labels:  instagram-api, instagram, instagram-client
Instagram4j
📷 Instagram private API in Java
Stars: ✭ 629 (+26.31%)
Mutual labels:  instagram-api, instagram, instagram-client
Goinsta
Unofficial Instagram API written in Golang
Stars: ✭ 733 (+47.19%)
Mutual labels:  api, instagram-api, instagram
Instagram Api
Instagram's private API
Stars: ✭ 5,168 (+937.75%)
Mutual labels:  api, library, instagram
Instagram User Feed
This is a scrapper to easily fetch any feed and interact with Instagram (like, follow, etc.) without OAuth for PHP.
Stars: ✭ 435 (-12.65%)
Mutual labels:  instagram-api, instagram, instagram-client
Swiftyinsta
Instagram Private API Swift
Stars: ✭ 165 (-66.87%)
Mutual labels:  api, instagram-api, instagram
Autoserver
Create a full-featured REST/GraphQL API from a configuration file
Stars: ✭ 188 (-62.25%)
Mutual labels:  api, cli, library
Onegram
This repository is no longer maintained.
Stars: ✭ 137 (-72.49%)
Mutual labels:  instagram-api, instagram, instagram-client
Instagram api gem
A Ruby wrapper for the Instagram API
Stars: ✭ 100 (-79.92%)
Mutual labels:  instagram-api, instagram, instagram-client
Igql
Unofficial Instagram GraphQL API to collet data without authentication
Stars: ✭ 80 (-83.94%)
Mutual labels:  instagram-api, instagram, instagram-client
Instagram Web Api
🤳 Instagram Private Web API client for Node
Stars: ✭ 694 (+39.36%)
Mutual labels:  api, upload, instagram
Instascrape
🚀 A fast and lightweight utility and Python library for downloading posts, stories, and highlights from Instagram.
Stars: ✭ 76 (-84.74%)
Mutual labels:  cli, library, instagram
Instagram Scraper
Scrapes an instagram user's photos and videos
Stars: ✭ 5,664 (+1037.35%)
Mutual labels:  instagram-api, instagram, instagram-client
Instagram Java Scraper
Instagram Java Scraper. Get account information, photos, videos and comments.
Stars: ✭ 335 (-32.73%)
Mutual labels:  instagram-api, instagram, instagram-client
InstagramCpp
Instagram REST API client wirtten in C++
Stars: ✭ 24 (-95.18%)
Mutual labels:  instagram-client, instagram, instagram-api

instapy-cli ⚡️

Publish photos and videos (NEW!) on Instagram, without a phone! You can upload posts and even stories on Instagram. You can upload a local file or use a link, it does everything for you automagically.

instapy-cli instagram-private-api


Build Status instapy-cli version Build Status MIT license

GitHub issues GitHub forks GitHub stars

Introduction

There are plenty of libraries written in Python specialized on working on Instagram APIs (either public or private), but most of them have lots of unsolved issues and PRs not maintained for a long time.

Lots of developers want a simple and effective way to upload photos or videos (NEW!) directly to Instagram programmatically. Some may want to publish a simple post, others want to publish a story.

All this can be achieved with instapy-cli. 🎉

I dedided to start this repo and open-source it with ❤️

Installation

pip install instapy-cli

Usage

Use as Library

You can check the folder examples to see working codes to use instapy-cli programmatically. If you want to use instapy-cli via shell continue reading.

Use as CLI

Use

instapy -u USR -p PSW -f FILE/LINK -t 'TEXT CAPTION'

CLI Options

option required default description
-u yes - username
-p yes - password
-f yes - file/media to upload
-t optional - text caption for post
-s optional - upload a story

Help

instapy --help

Hints

Cookie

You can avoid to re-login, by using a cookie that instapy-cli generate for you. By default instapy-cli use the cookie created in current working directory with the name 'USERNAME_ig.json'. If you don't want to store the cookie in your filesystem you need to pass the parameter cookie:

with client(username, password, cookie) as cli:
    # do stuffs with cli

This is feature is not well tested, be carefull using it.

Image Format

instapy-cli support images in the format of JPG/JPEG/PNG.

Aspect Ratio

The images need to have an aspect ratio of 1:1, that is squared size. You can use other aspect-ratio other than 1:1, but be carefull to stay inside Instagram limits. Otherwise, if you don't respect the aspect ratio, the media will be posted but stretched or cropped.

Why instapy-cli?

First, long story short: instapy-cli is a fork of pynstagram, with the aim of extending its functionality and fixing all unresolved bugs.

Move this project to a better place ↪️

Anyone that wants to collaborate, I promise to be a good repo manager and merge all your pull requests as soon as possible. I have some ideas to improve this but I need collaboration. Join and support! 💡

But, wait! Instagram doesn't allow uploading content except from the app (of course )

Short answer:

Yes, you are right.

Long answer:

Every connection from a mobile phone could be intercepted. Someone has done the hard work to sniff the packets sent from the phone to Instagram and "spread the news". You can do a quick research.

Code Requirements

This packages will be installed automatically with instapy-cli

package Source Link
requests https://github.com/requests/requests
filetype https://github.com/h2non/filetype.py
instagram-private-api https://github.com/ping/instagram_private_api
instagram-private-api-extensions https://github.com/ping/instagram_private_api_extensions

Contribute

To help instapy-cli developers to build and maintain this project, go to docs/CONTRIBUTING.md

instructions soon

(Write it and collaborate! 😉)

License

MIT

Support the project and the author

Offer me a coffe or a beer and support instapy-cli. 🎉

Click the button here > Build Status

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].