Skip to content

ciricihq/CiriciBeaconControlClientBundle

Repository files navigation

CiriciBeaconControlClientBundle Build Status

This bundle connects to BeaconControl api's to perform various actions

The documentation of the API can be found here: https://beaconcontrol.io/dev/backend/api_docs/index.html

Install

Require the bundle using composer:

composer require ciricihq/cirici-beacon-control-client-bundle:dev-master

Add it to AppKernel.php:

        $bundles = [
            ...
            new EightPoints\Bundle\GuzzleBundle\GuzzleBundle(),
            new Cirici\BeaconControlClientBundle\CiriciBeaconControlClientBundle(),
            ...
        ]

Configure the BeaconControl API endpoint for GuzzleBundle:

guzzle:
    clients:
        beacon_contol_s2s:
            base_url: "%beacon_control_s2s_api_base_url%"

Configuration

Add the next parameters to parameters.yml:

    beacon_control_s2s_api_id: <your beacon-control oauth api id>
    beacon_control_s2s_api_secret: <your beacon-control oauth api secret>
    beacon_control_s2s_admin_email: <your beacon-control admin email>
    beacon_control_s2s_admin_password: <your beacon-control admin password>
    beacon_control_s2s_api_base_url: <your beacon-control api base-url>

Enjoy!

About

Client for s2s API of upnext/BeaconControl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages