survos/bing-news-bundle

Symfony bundle for interacting with the Bing News API

Fund package maintenance!
kbond

Installs: 112

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

1.5.458 2025-01-05 22:43 UTC

This package is auto-updated.

Last update: 2025-01-06 23:06:10 UTC


README

A Symfony bundle to interact with Bing News API via the bing-news-API library.

Still under development, feedback welcome!

Quickstart

symfony new bing-news-demo --webapp && cd bing-news-demo
composer require survos/bing-news-bundle

composer config repositories.survos_bing_news_bundle '{"type": "path", "url": "../survos/packages/bing-news-bundle"}' composer req survos/bing-news-bundle:"*@dev"

composer config repositories.tacman_bing_search '{"type": "path", "url": "~/g/tacman/BingNewsSearch"}' composer req tacman/bing-news-search:"*@dev"

Resources

Installation

Go to Microsoft Azure and get a key.

Create a new Symfony project.

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

You can browse interactively with the basic admin controller.

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

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

bin/console bing-news:list 
+------------- museado/ -----+--------+
| ObjectName     | Path      | Length |
+----------------+-----------+--------+
| photos finales | /museado/ | 0      |
+----------------+-----------+--------+