Skip to content

Instantly share code, notes, and snippets.

View leandrovr13's full-sized avatar

Leandro Vieira Rezende leandrovr13

  • Belo Horizonte, MG - Brazil
View GitHub Profile
@leandrovr13
leandrovr13 / discogs-oauth.php
Created July 20, 2016 11:53 — forked from morecchia/discogs-oauth.php
Example OAuth access to the Discogs API
<?php
// This example uses a fork of the OAuthSimple library for PHP
// found here: https://github.com/tonefolder/oauthsimple/tree/master/php
//
// For more information about the OAuth process for applications
// accessing Discogs API, read:
// http://www.discogs.com/developers
require 'oauth.php';
$oauthObject = new OAuthSimple();
$scope = 'http://api.discogs.com';