PHPackages                             turanct/showpad-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. turanct/showpad-api

ActiveLibrary[API Development](/categories/api)

turanct/showpad-api
===================

Wrapper for the Showpad API

1.3.0(10y ago)01022[1 PRs](https://github.com/turanct/showpad-api/pulls)2MITPHP

Since Mar 28Pushed 9y ago2 watchersCompare

[ Source](https://github.com/turanct/showpad-api)[ Packagist](https://packagist.org/packages/turanct/showpad-api)[ Docs](https://github.com/turanct/showpad-api)[ RSS](/packages/turanct-showpad-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (8)Used By (2)

Showpad API Wrapper
===================

[](#showpad-api-wrapper)

This is a simple PHP wrapper for the Showpad API. It is built for v2 of the API, and it is currently incomplete.

You can find the Showpad website [here](http://www.showpad.com)

1. Features

---

The features we support are incomplete. It should be easy to add new ones, and if you do, please send a pull request!

- Basic configuration object. There's an interface so you can make e.g. a `ConfigDatabase` object that implements `ConfigInterface`, and things will still work.
- OAuth2 authentication
- A few api methods (nothing complete here...)

2. Setup

---

### 2.1 Composer

[](#21-composer)

Please use composer to autoload the Showpad api wrapper! Other methods are not encouraged by me.

*composer.json*

```
{
	"require": {
        "turanct/showpad-api-guzzle": "~0.1",
		"turanct/showpad-api": "~1.0"
	}
}
```

The `turanct/showpad-api-guzzle` library is an adapter for guzzle. There should be others available in the future, or you can just create your own.

### 2.2 Authentication

[](#22-authentication)

- `SHOWPAD_URL` The api url, something like `https://yournamehere.showpad.biz/api/v2`
- `SHOWPAD_APP_ID` The app's client id
- `SHOWPAD_APP_SECRET` The app's secret

#### 2.2.1 Step 1

[](#221-step-1)

```
