survos/the-guardian-bundle

Symfony bundle for interacting with The Guardian API

Fund package maintenance!
kbond

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

1.5.464 2024-12-26 16:20 UTC

README

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      |
+----------------+-----------+--------+