Django Instagram API. Use your Instagram data anywhere. Includes cache feature in the case of Exceptions.
Project description
DJANGO-IGLINK
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 = [ ...
'iglink',
... ####]
Next add IGLINK urls to your main url conf for example:
###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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-iglink-1.3.0.tar.gz
.
File metadata
- Download URL: django-iglink-1.3.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7da2821fdf29c67bd311ebbb35aa42464b7e7e3f4500946b7a31fff900148b5f |
|
MD5 | 37744eb26de71aebe6fe6b8b5ea32d65 |
|
BLAKE2b-256 | d1729f7e5c46f76217e544d2569a2133aec78a64b50e755c59644de8af8ecb09 |