项目作者: anandakelvin

项目描述 :
Instagram wrapper to get contents from given username
高级语言: Python
项目地址: git://github.com/anandakelvin/instagrump.git
创建时间: 2019-06-27T00:35:10Z
项目社区:https://github.com/anandakelvin/instagrump

开源协议:

下载


Instagrump

Just a simple Instagram Public API wrapper. The codes are self-explanatory.

Example usage

Installing:

  1. pip3 install instagrump

Importing:

  1. from instagrump import Profile, Content

Initialize Profile class:

  1. profile = Profile('ig_username')

Initialize Content class:

  1. content = Content('url_with_shortcode_from_Profile')

Example to get profile contents:

  1. [Content(i).get_content() for i in Profile('justinbieber').get_posts()]

Helpful tip

To get all class attribute:

  1. dir(your_class_here)

Todos

  • Write MORE Documentations
  • Sleep

License

MIT