-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add pokemon of the day #699
Comments
I support this idea |
Excellent idea! It would also be good to give it a pokedex like ability such a |
For the command portion, https://pokeapi.co/ looks pretty good. It's free too. a snip from https://pokeapi.co/api/v2/pokemon/1 "species": {
"name": "bulbasaur",
"url": "https://pokeapi.co/api/v2/pokemon-species/1/"
}, then a snip from https://pokeapi.co/api/v2/pokemon-species/1/ gives "flavor_text_entries": [
{
"flavor_text": "A strange seed was\nplanted on its\nback at birth.\fThe plant sprouts\nand grows with\nthis POKéMON.",
"language": {
"name": "en",
"url": "https://pokeapi.co/api/v2/language/9/"
},
"version": {
"name": "red",
"url": "https://pokeapi.co/api/v2/version/1/"
}
},
{
"flavor_text": "A strange seed was\nplanted on its\nback at birth.\fThe plant sprouts\nand grows with\nthis POKéMON.",
"language": {
"name": "en",
"url": "https://pokeapi.co/api/v2/language/9/"
},
"version": {
"name": "blue",
"url": "https://pokeapi.co/api/v2/version/2/"
}
}, Some weird artifacts with Wrapper libraries also exist, check the docs. |
For pokemon of the day, we could use a deterministic shuffle of the list I'm not sure where to get |
Why have a shuffle though? Does having them come out of numeric order matter? |
I'd say randomness matters. It'd be boring if you could trivially predict the next pokemon of the day. Either method though, you'd still need to know |
So, looking closer at https://pokeapi.co/api/v2/pokemon?limit=100000&offset=0 |
The numbering is a little unclear. First line value is |
|
Maybe relevant is the API also does pagination by default, so The query there though says "screw you, I want one page only." |
Or something that gives a random pokemon (like
/pokemon
). Some random stats about it would be nice, like it's type and some nonsense about the LORE.I wholeheartedly stole this idea from my alexas.
The text was updated successfully, but these errors were encountered: