anuj607 / google-api-php-client

Automatically exported from code.google.com/p/google-api-php-client
Apache License 2.0
0 stars 0 forks source link

PHP Sample for Google Affiliate Network #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Would like to see sample code for the following:
PHP Sample for Google Affiliate Network

Which Google API and version (e.g. Google Calendar Data API version 2)?
Google Affiliate Network API v1beta1, Events and Order Detail

What format (e.g. JSON, Atom)?
JSON

What Authentation (e.g. OAuth, OAuth 2, ClientLogin)?
Simple API Access (using API key for server apps (with IP locking))

External references, such as API reference guide?
http://code.google.com/apis/gan/index.html
http://code.google.com/apis/gan/overview.html

Please provide any additional information below.
Looking to get Events and Order Detail from the Google Affiliate Network API 
using Simple API Access (no OAuth) via PHP.

Original issue reported on code.google.com by e...@ericnagel.com on 16 Dec 2011 at 2:55

GoogleCodeExporter commented 9 years ago
Hey! Here's a sample application that demonstrates how to make Authenticated 
requests to the GAN APIs.

https://google-api-php-client.googlecode.com/svn/trunk/examples/affiliateNetwork
/index.php

Disclaimer: Support for the GAN APIs are only available on truck right now. 
(Grab it from here: 
http://code.google.com/p/google-api-php-client/source/checkout)

Original comment by chirags@google.com on 19 Dec 2011 at 11:08