Giter Club home page Giter Club logo

awstools's Introduction

#Description# A simple library that allows you to easily access the Amazon Web Services APIs - at least the ones that are important to me. Not all methods for the APIs are supported yet, they get added as I need to call them.

#Motivation# Why did I create it? Because all the other libraries I found sucked, even the official AWS PHP SDK. Most of the libraries I tested generated signatures differently and none of them properly URL Encoded all my data. That means that things would work fine... most of the time. Randomly having 2% of my results not make it into SimpleDB because they contained a special character wasn't acceptable to me and most of the libraries I looked at were so horribly written that it was impossible to track down the root cause - so I started fresh.

#Usage# Just include the base aws.php file and it will register its autoloader. From there on out you just need to create a new instance of the API you want:

$sdb = new SimpleDB().

##Configuration## The easiest way to specify your API credentials is to define the two constants somewhere in your code before you instantiate an API object:

define( 'AWS_KEY', '' );
define( 'AWS_SECRET_KEY', '' );

You can also pass them to the constructor for your API:

$sdb = new SimpleDB( 'key', 'secret' );

Passing values to the constructor will take precedence over constants, if they're defined.

awstools's People

Contributors

chrismeller avatar

Stargazers

 avatar

Watchers

 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.