API Question #1183
Replies: 3 comments 2 replies
-
I made it with thehelp of chatGPT ... you need to get a list of all items of the collection (did this by scraping the collections webpage sourcecode) than you can add the link to every item by POST to URL/API/DATA like this: { |
Beta Was this translation helpful? Give feedback.
-
So I managed to get everything done I wanted to with the api... 1. create n new items. I found out that I needed to use the following api requests for that:
Intermediate steps were necessary to obtain the necessary IDs of the newly created items after the respective steps: After you have created the new items in step 1, you can display the created IDs as follows: After step 4, you can display the imageitemIDs of the newly created empty images as follows: In this way, I was able to add nearly thousand games from my game collection to Koillection in just a few hours. I wrote the scripts for the automated api batch calls with powershell and had ChatGPT write json files based on my existing collection data to be able to import all the data. |
Beta Was this translation helpful? Give feedback.
-
Hey retrogamer, this was already very helpful. Could you explain on
I can only send 1 field per post request.
works. But how to I can't figure out how to add several fields with one request for one item. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys, I'm not a programmer and normally I play with chatGPT till something works as I want it to work. But for some reason I don't know how to start this.
In my Koillection used for videogames I have a collection called PS1. In this collection there are 250 Items. Every Item looks like that:
Now I want to add a new Field to every link item called "PSX Datacenter" to make every item look like this in the end:
I have a file which contains a link for every "Playstation Catalog Number":
So I would need to:
Can anyone help me on how to start?
I would need to know:
Thank you very much in advance.
Beta Was this translation helpful? Give feedback.
All reactions