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.

Authors