Commit Graph

69 Commits

Author SHA1 Message Date
Naramsim 5f9596da0d fix: correct spelling 2025-10-28 14:02:55 +01:00
FallenDeity 63f0e2699b feat: Make name lookups in api endpoints case insensitive 2025-01-21 16:46:59 +05:30
gabe 9841870055
fix: use items sprites in items test instead of pokemon sprites 2024-07-29 22:36:43 -04:00
gabe 554747a707
feat: add type sprites test
also rename `type` to `type_obj` to avoid reassigning the `type`
function
2024-07-29 22:33:36 -04:00
JVMartyns 176fdf3417 style: apply format using black 2024-04-08 11:05:29 -03:00
JVMartyns 0471f98941 feat: add the query parameter `q` to search for pokemon using a partial name 2024-04-08 10:27:14 -03:00
FallenDeity 4828b93860 style: Run black formatter on source 2024-02-03 00:32:51 +05:30
FallenDeity 02baf0b3ef feat: Add pokemon cries
Add pokemon cries resource field to pokemon endpoint
2024-02-03 00:15:39 +05:30
FallenDeity 545e1a0826 feat: Add showdown field to pokemon api resource 2023-12-16 09:56:19 +05:30
Simón Oroño b3d6608283 Fix tests for sprites
Moved the declaration of sprite_data variables closer to their actual
usage.
2023-11-26 11:57:16 -04:00
Simón Oroño d1e2d9c5b4 Use new JSON field in Django instead of Postgres custom one 2023-11-26 11:57:16 -04:00
Naramsim 8ba6f94c0c refactor/fix: format/sprite test 2023-11-08 11:11:56 +01:00
Naramsim 5237c4ccc9 refactor: format with new black 2023-11-08 10:44:55 +01:00
Ryan Voice a301ca48ec Update tests 2023-02-27 10:19:36 -08:00
Ryan Voice 7af0acf677 fix formatting 2023-02-16 15:53:48 -08:00
Ryan Voice fb893e4177 Add previous ability data structure 2023-02-16 15:18:04 -08:00
Julian Lawrance 206af8a6fd Remove order column from Generation model and use ID column instead 2021-07-19 19:00:40 +01:00
Julian Lawrance d8dfd24e43 Amend test_type_api to check for past type relations only including extant types 2021-07-16 22:50:32 +01:00
Julian Lawrance 8b9e4f171c Merge remote-tracking branch 'upstream/master' into feature/past-type-efficacy 2021-07-14 22:23:11 +01:00
fissionprime 68745ace03 old variable 2021-07-06 01:13:28 -04:00
fissionprime f17a09b15f reformatted with black 2021-07-06 00:58:55 -04:00
fissionprime 1ae3964a5f fixed 'possible_values' field of characteristic endpoint
loop that adds values to 'possible_values' used wrong value in conditional. Created test to verify behavior is as expected.
2021-07-05 21:10:39 -04:00
Julian Lawrance 44f14a0118 Merge remote-tracking branch 'upstream/master' into feature/past-type-efficacy 2021-02-24 13:41:20 +00:00
Julian Lawrance bbc8cbdf2b Merge remote-tracking branch 'origin' into feature/pokemon-form-types 2021-02-18 20:36:13 +00:00
Julian Lawrance 0aeb047677 Merge branch 'master' into feature/past-type-efficacy 2021-02-13 22:22:41 +00:00
Julian Lawrance 39856de97b Format source code again 2021-02-06 22:15:12 +00:00
Julian Lawrance 91f39138bd Format source code 2021-02-06 22:02:36 +00:00
Julian L c273a42f98
Merge branch 'master' into past-pokemon-types 2021-02-06 21:56:50 +00:00
Julian Lawrance 76ba2ae00e Format source code 2021-02-06 21:52:36 +00:00
Julian Lawrance 55f77c2fdd Remove unnecessary differences with master branch 2021-02-06 21:48:29 +00:00
Julian Lawrance 6ce7ca413d Merge branch 'master' into past-pokemon-types 2021-02-06 21:29:40 +00:00
Simón Oroño d99a8bb87e Make linter happy 2021-01-26 19:44:54 -04:00
Simón Oroño 87a2590543 Rename field in move endpoint
Field "pokemon" was renamed "learned_by_pokemon" to better express intent.
2021-01-26 19:42:28 -04:00
Simón Oroño 7c7beb4592 Add a "pokemon" field for the move endpoint
This field will contain a simple list of pokemon summaries. Each
element on the list represents a pokemon that can learn that move.
2021-01-23 13:22:37 -04:00
Alessandro Pezzè 464aeea4af fix: run black 2020-11-23 22:05:49 +01:00
Raghav Nair 25e026cc6a Removing ultrabeast column and only updating is_legendary and is_mythical 2020-08-14 22:14:09 -07:00
Raghav Nair 8c82794a04 Using black to format tests file 2020-08-09 12:41:24 -07:00
Raghav Nair 99dabe387c Updating PokemonSpecies serializer, fields, tests 2020-08-09 12:35:45 -07:00
Andrés Ignacio Torres 6f1479d21c
prevent server error on invalid numeric id lookup 2020-05-03 09:02:07 -04:00
Julian Lawrance d983f29543 Add tests for Pokemon form types 2020-04-25 14:25:00 +01:00
Julian Lawrance 4f8a9258f9 Add test for Wurmple evolution chain fix 2020-04-13 20:07:43 +01:00
Paul Hallett d5d55dad7f Autoformat entire project, tidy up makefile 2020-02-24 13:18:14 +13:00
Julian Lawrance bb99158a6c Create tests for past type efficacy 2019-12-01 12:42:20 +00:00
Julian Lawrance 7a2e0c4f41 Fix line lengths for pylint 2019-11-30 23:42:46 +00:00
Julian Lawrance 0f6881442f Create tests for past Pokemon types 2019-11-30 21:00:26 +00:00
Charles Marttinen 63b4f9040b chore: Configure PyLint and correct code formatting 2018-10-20 11:35:11 -04:00
Charles Marttinen 4df9920596 chore: Correct code formatting to appease linter 2018-10-20 11:35:11 -04:00
Charles Marttinen 8832c819e3 chore: Remove python2 compatibility code 2018-10-20 11:35:11 -04:00
Paul Hallett 404f23abd1 Change URL from PokéAPI to gh for sprites (#257) 2016-08-13 18:35:42 +01:00
sentwistler 28bd7ccd67 move flavor texts now available (#220)
* move flavor texts now available

* fix failed lints

* add documentation for move flavor text field
2016-07-05 09:42:03 +01:00