Giter Club home page Giter Club logo

instagram-php-api's Introduction

## This is a very simple instagram API implementation in PHP.
This first version depends on the Zend_Http_Client component from Zend Framework[1]. The code was made in such a way that it is HTTP client agnostic, but right now I'm working on an specific CURL-based client implementation so we don't depend on Zend Framework.

You don't need to download the whole Zend Framework stack to make this implementation work. Just make sure you have the HTTP Client[2] and everything under the 'Client' tree[3], anyway, the minimal version is very small and you can download it right from here[4]

If you take a look at the code, you'll notice that every method is mostly similar, with the exception of the endpoint, the number of params passed and the HTTP method performed. Yes, I did a first version of the API without a single one but a __call() method which, based on the endpoints mapping, created the right request and sent it to the server. After using it for a while, I just thought it was too simple, error prone and didn't help the auto-complete feature when you use a fancy IDE. This code is open sourced, so any ideas or suggestions will be welcomed, hope you use it and enjoy it!

[1] http://framework.zend.com/
[2] http://framework.zend.com/svn/framework/standard/trunk/library/Zend/Http/Client.php
[3] http://framework.zend.com/svn/framework/standard/trunk/library/Zend/Http/Client/
[4] http://framework.zend.com/download/latest

instagram-php-api's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.