New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

django-iglink

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-iglink

Django Instagram API. Use your Instagram data anywhere. Includes cache feature in the case of Exceptions.

1.3.0
PyPI
Maintainers
1

Version

1.3.0

Description

Add any instagram account data to any project. IGLINK differs from other Instagram API's, that when you reach the request limit put forth by Instagram, IGLINK will create a json cache file on every successful request, overwriting the previous file. When the request limit is hit or there is an exception, for example, 'keyError: ProfilePage', IGLINK will then return the last successful request from the cache file.
When the limit has been rest the cache file will be updated again with latest data.

Setup

#####https://pypi.org/project/django-iglink/

#pip install django-iglink or #pip3 install django-iglink

##In your Django project settings add 'iglink' to your installed apps:

####INSTALLED_APPS = [ ...

... ####]

###path('instagram/', include('iglink.urls')) or ###url(r'^instagram/', include('iglink.urls'))

Then run python manage.py migrate

Lastly in your root project folder make a directory called cache

Inside cache make 2 files called:

ig-profile-cache.json

and

ig-recent-media-cache.json

Keywords

django angular ig instagram http api rest django-rest-framework json cache

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts