Commit graph

474 commits

Author SHA1 Message Date
nimaje
33ae7a6073 avoid starimports
don't use starimports so don't use them in examples
2015-12-07 21:29:39 +01:00
nimaje
a94e95f34b Merge pull request #2 from zaneadix/improved-build
a few doc changes
2015-12-07 21:25:42 +01:00
Adickes
b58a5b76c3 a few doc changes 2015-12-07 15:17:33 -05:00
nimaje
b5981d70ff Merge pull request #1 from cstrachan88/patch-1
Update v2 build.py
2015-12-06 08:43:56 +01:00
Courtney Strachan
41662657a1 Update build.py - remove duplicate data load
I noticed that there was a duplicate PokemonGameIndex import in the original build.py for the v2 import. It's still in your updated build.py so I edited it out.
2015-12-05 18:54:09 -08:00
Benjamin Takacs
6dec6e0dd4 updated README for the new useage of the v2 build script 2015-12-05 22:44:23 +01:00
Benjamin Takacs
35240b3ae5 renamed prozess_csv to process_csv 2015-12-05 13:21:56 +01:00
Benjamin Takacs
5e5854fb7b One function for each group of models¬
NOT TESTED YET! Buildscript has not finished yet (needed about 18h until now).

Made `data/v2/__init__.py` and `config/local.py` python3 compatible.

Writen helper functions because of repeating code:
  + `process_csv`
  + `build_generic`
useage demonstrated with `_build_languages`.

Writen `with_iter` for closing files automatical
when the processing has finished.

Writen for each group of models a function (named `build_`groupname)
and a function `build_all` which calls these functions.
2015-12-05 12:13:46 +01:00
Adickes
714aa0b34d scrub out some unnecessary changes 2015-12-04 09:35:31 -05:00
Adickes
c454c3d2a0 fixed a bunch of links 2015-12-04 09:05:49 -05:00
Adickes
758bdbf877 probably finalized docs 2015-12-04 00:07:19 -05:00
Adickes
b5364be71b adding a few more json examples 2015-12-02 00:36:29 -05:00
Adickes
6422ee2411 adding json examples 2015-12-02 00:05:16 -05:00
Adickes
a3c2c17701 test nav table 2015-12-01 20:00:20 -05:00
Adickes
f1b0c9ecbc test nav again 2015-12-01 19:27:15 -05:00
Adickes
c4761152c0 test nav 2015-12-01 19:25:56 -05:00
Adickes
59bacbf78e test nav 2015-12-01 19:21:01 -05:00
Adickes
ef3ad99493 json payload test 2015-12-01 19:01:17 -05:00
Adickes
a2afb12289 Merge branch 'docs' of https://github.com/zaneadix/pokeapi into docs 2015-12-01 13:58:43 -05:00
Adickes
e664020ce3 work for the day 2015-12-01 13:47:46 -05:00
Zane Adickes
ea0d5c7ab3 Merge pull request #69 from zaneadix/more-data
More data serving
2015-11-30 12:39:13 -05:00
Adickes
dfd2c83991 good start to getting documentation workied out in a readme. 2015-11-29 18:39:38 -05:00
Adickes
009100ef34 link test 2015-11-28 18:52:05 -05:00
Adickes
801dacf3b0 link test three 2015-11-28 11:35:53 -05:00
Adickes
730ff956f9 link test two 2015-11-28 11:33:32 -05:00
Adickes
17c60f6443 link test 2015-11-28 11:25:30 -05:00
Adickes
64a60daa25 start docs 2015-11-28 09:30:55 -05:00
Adickes
5c563dcb27 migration clean up 2015-11-27 01:48:00 +01:00
Adickes
3d8e9a7649 tests now handling all convenience attributes in all apis 2015-11-26 02:18:35 +01:00
Adickes
300f1a9b79 evolution-chain bug fix 2015-11-16 15:42:24 -05:00
Adickes
342ea98b87 I feel like theres a ton of good convenience resource linking going on now 2015-11-16 14:23:41 -05:00
Adickes
1f480cedac tests covering all endpoints. working on adding some convenience attributes to api resources to help connect them two way style. tests will probably need some small tweaks 2015-11-15 22:29:30 -05:00
Adickes
43f97fd466 clean up 2015-11-10 14:23:46 -05:00
Adickes
75e39ba530 cleaned up the berry mess 2015-11-10 14:20:06 -05:00
Adickes
aa1d7d9939 fished serving almost all data (with the exception of machines and some csv files that didnt have data yet but have been updated in veekuns repo. TESTS STILL NEED TO BE DONE. 2015-11-08 16:26:02 -05:00
Adickes
c1f1f9ace7 apis for locations, location areas, encounters, encounter rates, characteristics, contests, super contests 2015-11-05 09:55:14 -05:00
Zane Adickes
0d666b1303 Merge pull request #66 from zaneadix/build-fix
fix build steps
2015-10-29 15:15:17 -04:00
Adickes
db91f73085 fix build steps 2015-10-29 15:09:28 -04:00
Adickes
b099558de2 starting a few more api endpoints (locations and encounters) 2015-10-29 13:46:15 -04:00
Paul Hallett
10d761432a Merge pull request #62 from zaneadix/tests
Tests done for current api endpoints
2015-10-28 10:19:08 +00:00
Zane Adickes
ede6577c17 whoops I commented a bunch of crap out 2015-10-28 00:28:21 -04:00
Adickes
44151e1963 Finished tests for all current API endpoints (34 of them) 2015-10-27 09:36:33 -04:00
Adickes
f3654c3458 half of api tests are done 2015-10-23 00:56:01 -04:00
Adickes
176802e474 starting tests 2015-10-18 19:01:33 -04:00
Zane Adickes
b5ab3d3f08 Merge pull request #53 from zaneadix/rest-framework
Many api resources serving data. Currently no tests. We need tests.
2015-10-07 09:12:31 -04:00
Adickes
f175d6323f Merge branch 'master' of https://github.com/phalt/pokeapi into safe-merge 2015-10-06 18:42:03 -04:00
Zane Adickes
a0c2015d5e Merge pull request #58 from zaneadix/v1-data
Building v1 data
2015-10-06 13:12:29 -04:00
Adickes
1a09d2cdba Merge branch 'rest-framework' of https://github.com/zaneadix/pokeapi into rest-framework 2015-10-06 13:10:14 -04:00
Adickes
df503e3424 About 80% of data is being served 2015-10-06 13:09:07 -04:00
Adickes
926ce05139 About 80% of data is being served 2015-10-06 13:03:02 -04:00