Skip to content

A simple Pokémon Go dex with the ability to filter down the Pokemon using a variety of options.

Notifications You must be signed in to change notification settings

micppp/filtergo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grabbing egg data

https://www.serebii.net/pokemongo/pokemon.shtml

const eggs = [];

document.querySelectorAll(".pokemon-list > tbody > tr").forEach(p => {
	const obj = {
    name: p.querySelector("td:nth-of-type(3) > a").textContent,
    inEggs: p.querySelector("td:nth-of-type(6)").textContent.trim() 
  }
  
  eggs.push(obj)
})

Grabbing shiny Pokémon

https://www.serebii.net/pokemongo/shiny.shtml

document.querySelectorAll(".dextable > tbody > tr").map(p => p.querySelector("td:nth-of-type(3) > a").textContent)

About

A simple Pokémon Go dex with the ability to filter down the Pokemon using a variety of options.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published