Skip to main content

Django implementation for instagram API

Project description

# Django Instagram API

[![Build Status](]( [![Coverage Status](](

Application for interacting with Instagram API objects using Django model interface

## Installation

pip install django-instagram-api

Add into `` lines:



## Usage examples

### Simple API request

>>>from instagram_api.models import User, Media
>>>u = User.remote.fetch(237074561)
>>>print u

>>>followers = u.fetch_followers()

>>>medias = u.fetch_recent_media()
>>>print medias
[<Media: 935546412924881779_237074561>, <Media: 935398934535687014_237074561>, <Media: 935385433641536074_237074561>...]

>>>m = Media.remote.fetch('937539904871536462_190931988')
>>>comments = m.fetch_comments()
>>>likes = m.fetch_likes()

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-instagram-api, version 0.1.8
Filename, size File type Python version Upload date Hashes
Filename, size django-instagram-api-0.1.8.tar.gz (31.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page