Skip to content

Symfony bundle to integrate with The Guardian API, including caching

Notifications You must be signed in to change notification settings

survos/SurvosGuardianBundle

Repository files navigation

TheGuardianBundle

A Symfony bundle to interact with The Guardian API via the The-Guardian-API library.

Still under development, feedback welcome!

Quickstart

symfony new the-guardian-demo --webapp && cd the-guardian-demo
composer require survos/the-guardian-bundle

composer config repositories.survos_guardian_bundle '{"type": "path", "url": "../survos/packages/the-guardian-bundle"}' composer req survos/the-guardian-bundle:"*@dev"

Installation

Go to https://theGuardian.com and get a key.

Create a new Symfony project.

symfony new the-guardian-demo --webapp && cd the-guardian-demo
composer require survos/the-guardian-bundle
bin/console the-guardian:list

You can browse interactively with the basic admin controller.

composer require survos/simple-datatables-bundle
symfony server:start -d
symfony open:local --path=/the-guardian/

Or edit .env.local and add your API key.

bin/console the-guardian:list 
+------------- museado/ -----+--------+
| ObjectName     | Path      | Length |
+----------------+-----------+--------+
| photos finales | /museado/ | 0      |
+----------------+-----------+--------+

About

Symfony bundle to integrate with The Guardian API, including caching

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published