2017 © Pedro Peláez
 

symfony-bundle api-client-bundle

The official Blitzr API Client for Symfony

image

blitzr/api-client-bundle

The official Blitzr API Client for Symfony

  • Thursday, January 19, 2017
  • by blitzr
  • Repository
  • 3 Watchers
  • 0 Stars
  • 596 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Blitzr Official PHP Bundle

A PHP API client bundle for the Blitzr API., (*1)

To use this bundle you will need an API key, you can request it at : https://blitzr.io., (*2)

Documentation

This service implements all the methods from the official Blitzr PHP client. Also you can use the PHP client documentation as a reference for this bundle., (*3)

You can also refer to the official Blitzr API reference to have more informations., (*4)

Installation

First add BlitzrApiClientBundle to your composer requirements., (*5)

$ composer require blitzr/api-client-bundle

Then enable the bundle in the Kernel., (*6)

// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Blitzr\ApiClientBundle\BlitzrApiClientBundle(),
        // ...
    );
}

Add the API key to your configuration., (*7)

// app/config/config.yml

...

# BlitzrApiClientBundle
blitzr_api_client:
    api_key: "your_api_key"

That's all !, (*8)

Getting Started

This bundle provides you a service, let's take an example of how to get an Artist or a Tag., (*9)

// Get the service
$blitzrClient = $this->get('blitzr_api_client.client');

// Request the artist
$artist = $blitzrClient->getArtist('year-of-no-light');

// Request a tag
$tag = $blitzrClient->getTag('rock');

The Versions

19/01 2017

dev-master

9999999-dev

The official Blitzr API Client for Symfony

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar blitzr

blitzr api bundle

25/01 2016

1.0.0

1.0.0.0

The official Blitzr API Client for Symfony

  Sources   Download

MIT

The Requires

 

by Avatar blitzr

blitzr api bundle