All Projects → s → InstagramPrinter

s / InstagramPrinter

Licence: MIT license
A Python application that prints Instagram photos.

Programming Languages

python
139335 projects - #7 most used programming language
CSS
56736 projects

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].