A PHP web app demo to access the Etsy V2 API using OAuth
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
index.php
oauth.inc.php
oauth_part2.php
oauth_part3.php

README

The key and secret are picked up from environment variables 
and so the virtual host must define them, for example in /etc/httpd/conf.d/ add a .conf file with:

<VirtualHost *:9000>                                                                                                                                          
  DocumentRoot /path/to/oauth-sample                                                                                                                     
  SetEnv OAUTH_CONSUMER_KEY 'yourkey'                                                                                                        
  SetEnv OAUTH_CONSUMER_SECRET 'yoursecret'                                                                                                                   
</VirtualHost> 

And you will probably need to add to /etc/httpd/conf/httpd.conf
 Listen 9000

Restart apache

Then hit your server on port 9000