dev-master
9999999-dev https://github.com/AppVentus/DybApiBundleSymfony DoYouBuzz Api Connection Bundle
MIT
The Development Requires
api library symfony doyoubuzz showcase
Symfony DoYouBuzz Api Connection Bundle
To do some custom needs , do not forget to fork and to rtfm Documentation., (*1)
You must :, (*2)
dyb/api-dundle, (*3)
"require": { "dyb/api-bundle": "dev-master" },, (*4)
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
[ {"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)
{ "1":"John Doe", "2":"Jane Doe" }
Go to this url : /dyb/showcase/choice, (*10)
Symfony DoYouBuzz Api Connection Bundle
MIT
api library symfony doyoubuzz showcase