PokéAPI

The RESTful Pokémon API

Integrate the PokéAPI API with the Formatting API

Setup the PokéAPI API trigger to run a workflow which integrates with the Formatting API. Pipedream's integration platform allows you to integrate PokéAPI and Formatting remarkably fast. Free for developers.

[Data] Convert JSON to String with the Formatting API

Convert an object to a JSON format string

 
Try it
[Data] Parse JSON with the Formatting API

Parse a JSON string

 
Try it
[Date/Time] Add/Subtract Time with the Formatting API

Add or subtract time from a given input

 
Try it
[Date/Time] Compare Dates with the Formatting API

Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.

 
Try it
[Date/Time] Format with the Formatting API

Format a date string to another date string

 
Try it

Overview of PokéAPI

PokéAPI is a great resource for any Pokémon enthusiast. With this API, you can access over 800 Pokémon, as well as all of their associated stats, abilities and moves. With these resources, you can build exciting applications, such as:

  • A Pokédex - Allowing you to look up Pokémon based on type and ability;
  • A battle simulator - Where two Pokémon fight each other using their moves and stats;
  • A breeding simulator - Where two Pokémon can mate with specified stats;
  • An exploration game - Where you explore various areas to find and capture Pokémon.

You can also use PokéAPI to build informative websites that help Pokémon trainers understand their Pokémon better. Here are some examples of what you can build:

  • A database of Pokémon stats, moves and abilities;
  • A matchup database between different types of Pokémon;
  • A database of all the items available in the game;
  • A chart showing the progress of Pokémon evolutions;
  • A timeline of game releases showing which Pokémon were added when.

All in all, the possibilities with PokéAPI are endless. With the resources it offers you can create extremely robust applications, or informative websites that cater to a wide range of Pokémon fans. Whether you're a budding developer, or an experienced player, PokéAPI has something for you!

Connect PokéAPI

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    pokeapi: {
      type: "app",
      app: "pokeapi",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://pokeapi.co/api/v2/pokemon/ditto`,
    })
  },
})

Connect Formatting

1
2
3
4
5
6
export default defineComponent({
  async run({ steps, $ }) {
    const text = ' Hello world! ';
    return text.trim()
  },
})