2017 © Pedro Peláez
 

symfony-bundle api-bundle

Symfony DoYouBuzz Api Connection Bundle

image

dyb/api-bundle

Symfony DoYouBuzz Api Connection Bundle

  • Tuesday, August 13, 2013
  • by lenybernard
  • Repository
  • 3 Watchers
  • 1 Stars
  • 441 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 2 Versions
  • 10 % Grown

The README.md

DoYouBuzz API connection bundle

To do some custom needs , do not forget to fork and to rtfm Documentation., (*1)

Requirements

You must :, (*2)

  • have a symfony2 projet : >= v2.1
  • have a DoYouBuzz API Key and API Secret
  • have a local webserver with cURL installed
  • know if you have a Partner or Application access

Installation

With composer

dyb/api-dundle, (*3)

"require": { "dyb/api-bundle": "dev-master" },, (*4)

Configuration

Register Bundle :, (*5)

Add this line to your AppKernel.php :, (*6)

new Dyb\ApiBundle\DybApiBundle(),

Declare the route in your routing.yml :, (*7)

dyb_showcase:
    resource: "@DybApiBundle/Controller/Showcase/"
    type:     annotation
    prefix:   /dyb/showcase/

Add the line below to your config. For example in your app/config/config.yml :, (*8)

dyb_api:
    showcase:
        key:       xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
        secret:    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Features

Showcase :

Get the list of your users, paginated :

[
    {"username":"john@doe.me","email":"john@doe.me","firstname":"john","lastname":"doe","id":311243},
    {"username":"jane@doe.me","email":"jane@doe.me","firstname":"jane","lastname":"doe","id":311245}
]

Go to this url : /dyb/showcase/list, (*9)

Get a choice list of your users

{
    "1":"John Doe",
    "2":"Jane Doe"
}

Go to this url : /dyb/showcase/choice, (*10)

The Versions

13/08 2013

dev-master

9999999-dev https://github.com/AppVentus/DybApiBundle

Symfony DoYouBuzz Api Connection Bundle

  Sources   Download

MIT

The Development Requires

api library symfony doyoubuzz showcase

19/07 2013

2.3.x-dev

2.3.9999999.9999999-dev https://github.com/AppVentus/DybApiBundle

Symfony DoYouBuzz Api Connection Bundle

  Sources   Download

MIT

The Development Requires

api library symfony doyoubuzz showcase