Commit graph

96 commits

Author SHA1 Message Date
Naramsim
c9f49c95f5 reformat: black 2022-08-08 15:49:09 +02:00
Alessandro Pezzè
c2a781e5de try: use env var 2022-08-08 11:35:35 +02:00
Aniket Chakraborty
28354a973c Updated Sprite URL
Previously the sprite endpoint returned the relative path of
the image with a /media/ prefix which was not useful for API consumer.
Now it returns a URL pointing to the image present in github.com/PokeApi/Sprites.

Signed-off-by: Aniket Chakraborty <aniket2583@gmail.com>
2022-06-26 19:01:55 +05:30
Christian Garza
e4affb50c9 Add transparent sprites for gen-i and gen-ii 2021-11-15 17:57:00 -08:00
Alessandro Pezzè
bcd290be71 fix: format code 2021-10-25 19:27:41 +02:00
Rolf
eb4d313c1d Added Pokémon Home images support. 2021-10-04 20:53:15 +02: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
0d9bc4f2b9 Run formatter 2021-07-16 22:32:06 +01:00
Julian Lawrance
1173b43ad1 Add order field to Generation model 2021-07-16 22:29:55 +01: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
Alessandro Pezzè
b5f014af82
Merge branch 'master' into past-pokemon-types 2021-02-10 20:41:02 +01:00
Alessandro Pezzè
ffea952902 refactor: change var names 2021-02-08 19:56:35 +01:00
Alessandro Pezzè
84b5a1874a fix: use string name when not default 2021-02-08 19:54:08 +01: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
6ce7ca413d Merge branch 'master' into past-pokemon-types 2021-02-06 21:29:40 +00:00
Alessandro Pezzè
92213330b3 chore: format wih black 2021-02-05 22:59:44 +01:00
Alessandro Pezzè
46f210ab81 feat: polish code/add female forms sprites 2021-02-05 22:58:23 +01:00
Alessandro Pezzè
06f78e6fd2 feat: build more image sprites 2021-02-05 22:58:23 +01:00
Alessandro Pezzè
6b33ed2bc6 play: allow null values 2020-09-02 19:57:00 +02:00
Christian Garza
4e8b0da539 Extend pokemon sprites to include gen-vii and gen-viii icons 2020-08-23 20:05:22 -07:00
Alessandro Pezzè
b2c381a89e
Merge branch 'master' into master 2020-08-15 21:32:56 +02:00
Alessandro Pezzè
6e9f123060
Merge branch 'master' into staging 2020-08-15 21:22:36 +02:00
Raghav Nair
25e026cc6a Removing ultrabeast column and only updating is_legendary and is_mythical 2020-08-14 22:14:09 -07:00
Christian Garza
afd4b6d9ec Extend pokemon sprites to include gen-v animated sprites 2020-08-14 17:29:19 -07:00
Alessandro Pezzè
41f6c39682 Merge branch 'master' into gen-8 2020-08-11 19:28:20 +02:00
Alessandro Pezzè
028ae7f9d9 fix: @C-Garza fix 2020-08-10 20:05:39 +02:00
Raghav Nair
99dabe387c Updating PokemonSpecies serializer, fields, tests 2020-08-09 12:35:45 -07:00
Christian Garza
03c7cb7f33 Update build.py 2020-08-08 14:12:34 -07:00
Christian Garza
0bc8f09e1f Extend pokemon sprites to include gen-ii to gen-vii and official artwork images 2020-08-04 03:17:48 -07:00
Alessandro Pezzè
6c307583b9 fix: use False for gender_diff 2020-08-01 12:57:57 +02:00
Alessandro Pezzè
7ceba2f1b1 refactor: apply black 2020-08-01 12:24:38 +02:00
Alessandro Pezzè
047575ff41 play: add some pokemon 2020-08-01 12:00:09 +02:00
Christian Garza
e45a9a6570 Extend pokemon sprites to include gray gen-i images 2020-07-28 02:48:01 -07:00
Christian Garza
7f19263e75 Extend pokemon sprites to include gen-i images 2020-07-27 17:22:15 -07:00
Alessandro Pezzè
1c67ac45a4 feat: allow null values in pokemon.csv 2020-07-25 21:18:10 +02:00
Christian Garza
f44da153fb Fix linting errors 2020-07-10 02:59:05 -07:00
Christian Garza
a14271a67a Extend pokemon sprites to include dream-world images from submodule 2020-07-09 23:58:11 -07:00
Julian Lawrance
98d67b19ed Create model, serialiser and migration for Pokemon form types 2020-04-25 14:10:50 +01:00
Alessandro Pezzè
4a6e519b39 feat: fix rare cases where description is ill formatted 2019-12-17 17:25:50 +01:00
Julian Lawrance
e847276e9b Add build step for past type efficacy 2019-12-01 12:39:30 +00:00
Julian Lawrance
385a2d62cc Add build step for past Pokemon types 2019-11-30 20:49:55 +00:00
Charles Marttinen
63b4f9040b chore: Configure PyLint and correct code formatting 2018-10-20 11:35:11 -04:00
Charles Marttinen
8832c819e3 chore: Remove python2 compatibility code 2018-10-20 11:35:11 -04:00
Charles Marttinen
3d64938a3f chore: Upgrade to Python 3 and update Django to 2.0 2018-10-20 11:35:11 -04:00
Charles Marttinen
2cb886eee3 Implement suggested naming changes 2018-09-10 06:25:02 +10:00
Charles Marttinen
9d4f893a69 Improve performance of database build script
The remainder of the build script has been converted to use
`bulk_create()`. Running the build script on my machine with a
PostgresQL database took only 5 minutes 40 seconds, and with
SQLite 26 minutes 18 seconds.
2018-09-10 06:25:02 +10:00
Charles Marttinen
def70662f1 Modify database build script to use bulk_create (WIP) 2018-09-10 06:25:02 +10:00