{"repo":"andli/pymkm","free":true,"listed":false,"github":"https://github.com/andli/pymkm","clone":"git clone https://github.com/andli/pymkm.git","description":"Python wrapper for the cardmarket.com API. Also contains a working app with price updating of your personal stock, csv import etc.","language":"Python","stars":58,"topics":["magic-the-gathering","api-client","cardmarket"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"📙 PyMKM :exclamation: Cardmarket API down, this app and API wrapper won't work until they reopen it ----------------------------------------- See the Changelog for what's new. See the Trello board for ongoing work. Hop in on the Discord server if you want help or to discuss development. Python wrapper for the cardmarket.com API (version 2.0, using OAuth1 and the \"Dedicated app\" option). The included sample app can update your stock prices to trend, all rounded to nearest configurable value per rarity (default .25 €). A confirmation step allows you to check the result before uploading the new prices. The app can import a .csv list of cards to your stock. It can also be used to clear your entire stock. The app keeps track of how many API requests your have left each day, and can do partial updates if you have more than 5000 articles to update. The price calculation is modular and you can write your own algorithm in python if you want. NOTE: Use all functionality at your own risk, I take no responsibility for the resulting prices or wiped stock. See 'price calculation' below for more details. 🔨 How 1. Install requirements using pip install -r requirements.txt 1. Copy config template.json to config.json and fill in your API keys. 1. Run python pymkm.py . 1. Profit. 📈 Price calculation The price data is supplied by the Cardmarket API. This app contains a basic algorithm for updating prices: NOTE: This is a rough algorithm, designed to be safe and not to sell aggressively. 1. Fi","default_branch":null,"files":null,"tree":[],"storefront":"/r/andli","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/andli/pymkm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}