2017 © Pedro Peláez
 

library unbounce-api-client

A Laravel Package to communicate with the Unbounce API

image

campaigningbureau/unbounce-api-client

A Laravel Package to communicate with the Unbounce API

  • Wednesday, March 14, 2018
  • by campaigningbureau
  • Repository
  • 3 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Unbounce Api Client

Description

A library to consume the Unbounce Api in your Laravel Application., (*1)

Installation

First require in Composer:, (*2)

composer require campaigningbureau/unbounce-api-client

The Service Provider is found via Laravel Autodiscovery., (*3)

Then publish the config settings:, (*4)

php artisan vendor:publish

Configuration

After publishing the config file you can edit them in config/unbounce.php., (*5)

Make sure you configure at least api_key., (*6)

Usage

Subaccounts

Load subaccounts as a Collection of Subaccount Objects:, (*7)

$account_id = 'myAccountId';
$subaccounts = Unbounce::subaccounts($account_id);

Pages

By default the pages of a subaccount are not loaded. To load them use the following command:, (*8)

$account_id = 'myAccountId';
$subaccounts = Unbounce::subaccounts($account_id);
$my_subaccount = $subaccounts->first();

$pages = $my_subaccount->getPages();

Still missing

  • More Subaccounts informations:
    • Domains
    • Leads
  • Other Resource Routes
  • OAuth AuthenticationDriver

The Versions

14/03 2018

dev-master

9999999-dev

A Laravel Package to communicate with the Unbounce API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christoph Schleifer

05/03 2018

v0.1

0.1.0.0

A Laravel Package to communicate with the Unbounce API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christoph Schleifer