A python package to fetch public data from Instagram.
$ pip install instafetch
-
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
- Fork it!
- Create your feature branch:
git checkout -b <new-feature>
- Commit your changes:
git commit -am 'New Feature added'
- Push to the branch:
git push origin <new-feature>
- Submit a pull request :D
- Write Tests
- Add more endpoints
- Modify return data