Skip to content

Parassharmaa/instafetch-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instafetch

A python package to fetch public data from Instagram.

Installation

$ pip install instafetch

Usage

  • Search Users:

    from instafetch import Instafetch
    
    I = Instafetch()
    users  = I.users(<keyword>)
  • Get user details:

    I = Instafetch()
    user_detail = I.user(<username>)
  • Fetch Hashtags data:

    I  = Instafetch()
    I.explore(<Hashtag>, page=<no. of pages>) #number of pages to fetch
    
    top_posts = I.top_posts
    all_posts = I.all_posts

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b <new-feature>
  3. Commit your changes: git commit -am 'New Feature added'
  4. Push to the branch: git push origin <new-feature>
  5. Submit a pull request :D

Contributors

Things to do:

  • Write Tests
  • Add more endpoints
  • Modify return data

License

MIT

About

A python package to fetch public data from Instagram.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages