Skip to content
A Python application that prints Instagram photos.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
classes
outputs
screenshots
.DS_Store
.gitignore
LICENCE.txt
README.md
app.py
config.yaml.sample

README.md

InstagramPrinter

A Python application that searchs and prints(soon) Instagram photos with the given hashtag.

Application first connects to Instagram Api and fetchs matched photo datas.

Then clones the template main.html and replaces tags with returning data from Api.

##Installation and Run

$ git clone git://github.com/s/InstagramPrinter.git ~/InstagramPrinter
$ cd ~/InstagramPrinter
$ python app.py

##Skeletal

Classes: (Core python files)


Api.py : Handles Instagram Api connection and generates html files.

Output: (Public data)


assets : Contains css and font files.
templates : Contains original templates.
views : Contains generated views. Generated views will be in the folder for e.g views/#InstagramPrinter

##Configuration (config.yaml)
accessToken : Instagram api access token.
searchHashtag : Hashtag to search. Default:InstagramPrinter
delayTime : Delay time between each api request. Default: 30(seconds)
pageTitle : Page title of generated html file. Default: InstagramPrinter
templateFileName : Name of template file. Default: main.html

##View Template Tags:

{$title} : Page Title
{$photoUrl} : Url of photo
{$photoWidth} : Width of photo
{$photoHeight} : Height of photo
{$postOwnerAvatar} : Avatar of post owner
{$postOwner} : Screen username of post owner
{$postDate} : Create date of post
{$likes} : People who likes this post
{$comments} .. {/$comments} : Comments block
{$commentOwnerAvatar} : Avatar of owner of any comment
{$commentOwner} : Screen username of owner of any comment
{$commentText} : Text of comment

##Screen Shots

View Screen Shot

##TO-DO ->Log files.

You can’t perform that action at this time.