This is just a quick example, I use the Giphy API to retreive funny images from simple keywords.
cd symfony-project
php bin/console server:run
firefox "http://127.0.0.1:8000/?q=gift"
Try to change the value of the q
GET parameter in the url ๐!
Check files app/Resources/view/default/index.html.twig
and src/AppBundle/Controller/DefaultController.php
Build your own, with this cool list of public APIs: https://github.com/toddmotto/public-apis
Try to handle properly error when there is no gif found for a given request!