Class PokeApiExample

  • All Implemented Interfaces:
    Example

    public class PokeApiExample
    extends Object
    implements Example
    Example demonstrating how to use the PokéAPI with RocketRest's fluent API, including pagination support. API documentation: https://pokeapi.co/docs/v2
    • Constructor Detail

      • PokeApiExample

        public PokeApiExample()
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: Example
        Get the name of the example to display in the menu
        Specified by:
        getName in interface Example
        Returns:
        The example name
      • run

        public void run()
        Description copied from interface: Example
        Run the example
        Specified by:
        run in interface Example