API querying

 avatar
rschubert avatarrschubert
{"ops":[{"insert":"Hello,\n\nI am interested in collecting some data about card use across decks using the archidekt API. I've found one of the endpoints (https://archidekt.com/api/decks/v3/) but that only gets me a list of recent decks. I'm interested in identifying cards that are in those decks once I've gotten a list of deck IDs. Additionally I'd like to query by a specific commander being used. is it possible to access this data through the api?\n\nBest,\nRyan Schubert\n"}]}
0
 avatar
{"ops":[{"insert":"You can get a deck's details using /api/decks/:id\n\nThough it'll likely have a lot more data than you're expecting. \n\nYou can also filter the results for the list of decks by using the same query params from the url in your api request. \n"}]}
0
 avatar
juju0010 avatarjuju0010
{"ops":[{"insert":"This endpoint doesn't work. It returns the following response:\n\n"},{"attributes":{"background":"#212121","color":"#9cdcfe"},"insert":"\"Client Unavailable: You are requesting client routes from the api. Use a react server with the archidekt-client to develop locally. If you are seeing this in production, the load balancer is not correctly routing.\""},{"insert":"\n\n"}]}
0
 avatar
rschubert avatarrschubert
{"ops":[{"insert":"hi that doesn't seem to work for me and is also different from the v3 endpoint I've found, can you give a more concrete example of whit the url looks like filtered to a specific deck ID ?\n"}]}
0
Support us on Patreon to remove ads