Commit graph

100 commits

Author SHA1 Message Date
Yarne Coppens
1036205acc Fixed wishlist endpoint. Application no longer assumes wishlist board games are owned 2024-08-02 10:50:18 +02:00
Yarne Coppens
5b87e45523 Created a wishlist expansion boardgame class 2024-08-02 10:37:47 +02:00
Yarne Coppens
7927f2ced1 bgg_connection will now wait on BGG if it is processing 2024-08-02 10:33:09 +02:00
Yarne Coppens
8b8a218bc5 Made more structural changes. Created a config with definitions to get the ROOT PATH of the project 2024-08-02 10:25:48 +02:00
Yarne Coppens
00257a3251 Reorganized modules. Created pytest config to make testing work 2024-08-02 09:52:06 +02:00
Yarne Coppens
724a40c0a6 Test now checks properly for collection board game 2024-08-01 14:44:24 +02:00
Yarne Coppens
d5d370cf2b Wrote retrieve boardgame and retrieve collection tests 2024-08-01 14:41:44 +02:00
Yarne Coppens
7598acddf9 Started work on testing 2024-08-01 14:31:17 +02:00
Yarne Coppens
7c08a285a9 Removed debug print statement 2024-08-01 14:12:47 +02:00
Yarne Coppens
2221243778 Removed the allowance of response code 202, as this means no data is returned yet 2024-08-01 14:09:04 +02:00
Yarne Coppens
8d37ecd4d4 Merge branch 'new_boardgame_classes' into fastapi 2024-08-01 12:40:14 +02:00
Yarne Coppens
c02dc69b64 Added expansions to collection retrieval 2024-08-01 12:39:36 +02:00
Yarne Coppens
188f4d2806 Can now retrieve extra info about collection board games 2024-08-01 12:34:55 +02:00
Yarne Coppens
77472e8ff4 Gave all board game classes a type 2024-08-01 12:16:50 +02:00
Yarne Coppens
d0fb364808 Added comments 2024-08-01 12:16:41 +02:00
Yarne Coppens
655b1b5cf0 Created board game type Enum 2024-08-01 12:05:51 +02:00
Yarne Coppens
12c9696dff Removed unused items endpoint 2024-08-01 11:59:40 +02:00
Yarne Coppens
ba0bd44116 Created new board game classes 2024-08-01 11:48:29 +02:00
Yarne Coppens
03936192fa Included expansions in collection retrieval 2024-08-01 11:10:48 +02:00
Yarne Coppens
cfff61853a Added endpoint to retrieve wishlist 2024-08-01 10:35:51 +02:00
Yarne Coppens
04906e67c7 expansion_ids are now correctly filled 2024-08-01 10:26:40 +02:00
Yarne Coppens
e0c8a6c7dd Separated function to retrieve boardgames from collection url, eg. for wishlist retrieval 2024-08-01 10:11:08 +02:00
Yarne Coppens
5b8bd40970 Enabled working collection endpoint to retrieve all boardgames from owned collection 2024-08-01 10:05:17 +02:00
Yarne Coppens
5f05e6bf82 Removed debug print statement 2024-08-01 09:52:34 +02:00
Yarne Coppens
7985fe0bbc Fixed variable naming bug 2024-08-01 09:51:49 +02:00
Yarne Coppens
cf59b7e24b Can now get multiple board games at once 2024-08-01 09:50:55 +02:00
Yarne Coppens
ecaea2222a Started work on getting owned collection 2024-07-31 16:03:24 +02:00
Yarne Coppens
fa90875ad0 Added assertion to make sure there are no duplicate sessions 2024-07-31 15:43:33 +02:00
Yarne Coppens
99117cbd82 bgg_connection now uses authenticated session 2024-07-31 15:22:30 +02:00
Yarne Coppens
00b619d892 Created an assert test for successful login 2024-07-31 15:16:05 +02:00
Yarne Coppens
944ba9791b Added an authentication manager for handling credentials 2024-07-31 15:15:32 +02:00
Yarne Coppens
ac4a90edd1 Added secrets file for authentication 2024-07-31 15:13:29 +02:00
Yarne Coppens
70cfef54ad Created method to produce an authenticated session 2024-07-31 14:54:31 +02:00
Yarne Coppens
eaeb1c1b7f Put requested board game in variable for expandability/testing 2024-07-26 12:04:44 +02:00
Yarne Coppens
6de35547a3 Implemented boardgame type check for expansions 2024-07-26 12:01:12 +02:00
Yarne Coppens
1bb40881a7 Getting all boardgame attributes. All except expansion id's 2024-07-26 11:41:34 +02:00
Yarne Coppens
719eb363a9 can now get information about a single boardgame 2024-07-26 10:46:46 +02:00
Yarne Coppens
7b94d0074d fixed BoardGame class image_url and thumbnail_url wrong declaration 2024-07-26 10:45:29 +02:00
Yarne Coppens
e597798d7f Merge branch 'creating_boardgame_class' into getting_boardgame_from_bgg 2024-07-26 10:20:57 +02:00
Yarne Coppens
80535cb27c Added expansion id property to BoardGame class 2024-07-25 22:07:14 +02:00
Yarne Coppens
f8cc27a037 Created basic BoardGame class 2024-07-25 22:01:25 +02:00
Yarne Coppens
d2fa2774eb Started work on getting single boardgame from boardgamegeek 2024-07-25 21:52:49 +02:00
Yarne Coppens
bfc5adac70 Started work on bgg_connection module 2024-07-25 19:58:28 +02:00
Yarne Coppens
4f3370efef Used response model 2024-07-25 19:38:20 +02:00
Yarne Coppens
85e9b18039 Gave the get_boardgame_by_id endpoint a Return Type 2024-07-25 18:02:37 +02:00
Yarne Coppens
64a335ac98 Fixed Pydantic class not inheriting from BaseModel 2024-07-25 18:01:51 +02:00
Yarne Coppens
57cebaaf02 Added API endpoint base for retrieving boardgame by ID 2024-07-25 17:53:59 +02:00
Yarne Coppens
b90aaad637 Started base boardgame class 2024-07-25 17:27:27 +02:00
Yarne Coppens
4e4fb04b88 Created base for fastapi 2024-07-24 22:53:56 +02:00
Yarninator
971975e992 Initial commit 2024-07-24 22:49:16 +02:00