PUT request with the API

TappedOut forum

Posted on Aug. 6, 2016, 2:16 p.m. by psoliver

Has anyone got experience using the API to change the cards in a deck?

I am trying to following the documentation for it, but it isn't working.

https://tappedout.github.io/

yeaGO says... #2

we've got a newer one coming soon, none of that has really been updated. from where are you trying to make those edits?

August 6, 2016 2:41 p.m.

psoliver says... #3

Okay, maybe I can wait until the new API is done.

I tried doing it in both the browser and using curl on a PHP file (I pass the cookie as authentication, I know that works because I can do a GET to display all my decks), but neither change works.

August 6, 2016 2:52 p.m.

yeaGO says... #4

it will launch next week on inventories, basically it will make editing easier so you can continue to do it as you are doing. its only cookie auth, but if you got that down then you should have no problem. it will be easier not only to add cards but to change values. are you creating your own interface or something?

August 6, 2016 3:27 p.m.

psoliver says... #5

Awesome! I am creating a personal automation tool that connects my acquire boards on here with my magiccardmarket account, as I list all cards I own that aren't in decks there. So the tool looks at the acquire boards from the decks on here and removes any cards I need from my MKM account and then updates the acquire boards on here.

August 6, 2016 3:58 p.m.

psoliver says... #6

Did the changes to inventories launch? If so where can I find the documentation on it? Thanks! :)

September 18, 2016 9:11 a.m.

yeaGO says... #7

they did but its not documented :)

check out the inventory calls

September 18, 2016 12:56 p.m.

psoliver says... #8

I think I am just being dumb. I can't seem to get it to work still. Can you PM how to do it please?

September 29, 2016 4:14 p.m.

This discussion has been closed