Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.
/ datamolino-bundle Public archive

A Symfony bridge for the Datamolino Client

License

Notifications You must be signed in to change notification settings

cwd/datamolino-bundle

Repository files navigation

Datamolino Client Bundle

Latest Stable Version Total Downloads Latest Unstable Version License

This is a Symfony Bridge for the Datamolino Client.

Installation:

composer require cwd/datamolino-bundle

Usage:

Configuration

Enable the bundle in bundles.php:

return [
 // ...
 Cwd\DatamolinoBundle\CwdDatamolinoBundle::class => ['all' => true],
]

Create config/packages/cwd_datamolino.yaml:

cwd_datamolino:
  client_id: your_client_id
  client_secret: you_client_secret
  datamolino_host: beta.datamolino.com or app.datamolino.com
  username: your_username
  password: your_password

Authentication

$datamolino = $this->get(Cwd\Datamolino\DatamolinoClient::class);

// Get a Token via password authentication
$token = $datamolino->getClient()->authenticate();

See client for an example of all api methods: https://github.com/cwd/datamolino-client/blob/master/README.md

About

A Symfony bridge for the Datamolino Client

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages