matthiasnoback/leanpub-api-client

A PHP client for the Leanpub API

v1.2.1 2020-07-06 12:33 UTC

This package is auto-updated.

Last update: 2020-09-06 12:48:15 UTC


README

Build Status

This library contains a PHP implementation of a client that can be used to connect to the Leanpub API. It is not feature-complete, but the features that are implemented are implemented fully and they work correctly. Feel free to submit PRs for adding new features or fields to existing DTOs, etc.

Installation

Using Composer, require the matthiasnoback/leanpub-api-client package.

This package uses the HTTPPlug to connect to the Leanpub API. This means you can any HTTP client you like by installing its adapter.

Usage

See the directory integration-tests/ to find out how to use this library.

There's also a command-line application. To find out more about the available commands, run:

vendor/bin/leanpub.php

Run with -vvv to see the HTTP requests that the client makes to the Leanpub API.