Pokemon
A little test about wordpress development.
by Alex Monroy · github.com/alexwebpuro/alx-pokemon · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/alexwebpuro/alx-pokemon/archive/refs/heads/main.zipDeclares an update source (https://alexmonroy.com/), so updates arrive through the plugin's own updater.
From the readme
Pokemon plugin
Considering the test requirements, I believe the best solution is to bring all the logic into the plugin, due to the functionalities it offers.
Documentation
When this plugin is activated, it calls the Pokémon API and retrieves the first five Pokémon.
API endpoints
- #### GET [ your-site.com ]/wp-json/pk/v1/pokemon
Deliver the information in JSON format for the Pokémon created in WordPress.
- #### GET [ your-site.com ]/wp-json/pk/v1/pokedex
Provide the recent Pokédex number of the Pokémon.
Custom URL's
- [ your-site.com ]/random
Features
- Random Pokemon page.
- Pokemon API Rest.
- Auto create pokemon post type ( when plugin is activated ).
- Pokemon template.
Demo
Wordpress con el plugin instalado.
- alexmonroy.com
Authors
- alexwebpuro