Giter Site home page Giter Site logo

How to start using? about instagrapi HOT 5 CLOSED

adw0rd avatar adw0rd commented on June 28, 2024
How to start using?

from instagrapi.

Comments (5)

adw0rd avatar adw0rd commented on June 28, 2024 1

@paradox70 added more examples https://github.com/adw0rd/instagrapi

from instagrapi.

adw0rd avatar adw0rd commented on June 28, 2024
cl = Client(settings)
# cl.set_proxy("socks5://127.0.0.1:30235")
cl.login(ACCOUNT_USERNAME, ACCOUNT_PASSWORD)

user_id = cl.user_id_from_username("adw0rd")
medias = cl.user_medias(user_id, 20)

There are many examples in tests https://github.com/adw0rd/instagrapi/blob/master/tests.py
In the near future I will add README

from instagrapi.

adw0rd avatar adw0rd commented on June 28, 2024

Cookie are stored as part of settings and specified next: https://github.com/adw0rd/instagrapi/blob/758c89bf8b85fe2a91ba40530349007d2d2760e1/tests.py#L39

from instagrapi.

adw0rd avatar adw0rd commented on June 28, 2024
cl = Client()
cl.login(username, password)
print(cl.get_settings())

from instagrapi.

paradox70 avatar paradox70 commented on June 28, 2024

Thank for you reply,
I started using this library and I'm sure this is one the best one.
I will contribute to this project.

from instagrapi.

Related Issues (20)

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.