11# MTGDPC
22Magic the Gathering Deck Price Checker (for JPN Players).
33
4- ### About
4+ ## About
55
66MTGDPC (` mtgdpc ` ) enables users to search the cheapest price of given card name via [ Wisdom Guild] ( http://www.wisdom-guild.net ) .
77
8- #### Requirements
8+ ### Requirements
99
1010- Python 3.6 (or above)
1111- Beautiful Soup
1212- lxml
1313
1414Simply, ` pip install -r requirements.txt ` to install above mentioned modules.
1515
16- ### How to use
16+ ## How to use
1717
18- #### 1. Prepare decklist
18+ ### 1. Prepare decklist
1919- ` .txt ` file of decklist must fit either Format (A) or (B).
2020- ` decklist/ ` directory contains some sample ` .txt ` files.
21- ##### Format (A) Basic Format
21+ #### Format (A) Basic Format
2222Note that card name must be in English.
2323```
2424<# of cards> <card name>
@@ -29,7 +29,7 @@ Sideboard
2929...
3030```
3131Also, other format will be automatically converted to this format.
32- ##### Format (B) M: TG Wiki Style
32+ #### Format (B) M: TG Wiki Style
3333If you copy and paste from [ M: TG Wiki] ( http://mtgwiki.com/wiki/%E3%83%A1%E3%82%A4%E3%83%B3%E3%83%9A%E3%83%BC%E3%82%B8 ) , some will look like:
3434
3535```
@@ -45,7 +45,7 @@ If you copy and paste from [M:TG Wiki](http://mtgwiki.com/wiki/%E3%83%A1%E3%82%A
4545```
4646In this case, ` mtgdpc ` will automatically convert it and replace it with Basic Format.
4747
48- #### 2. Execute ` mtgdpc.py ` with argument of prepared ` .txt ` file
48+ ### 2. Execute ` mtgdpc.py ` with argument of prepared ` .txt ` file
4949```
5050$ python mtgdpc.py <.txt file>
5151------------------------------ MAIN DECK ------------------------------
@@ -65,9 +65,9 @@ side ) price: < (B) total price of sideboard >
6565total price (main + side): (A) + (B)
6666```
6767
68- ### Sample Decklist & Output
68+ ## Sample Decklist & Output
6969
70- #### ` decklist/MoMa.txt `
70+ ### ` decklist/MoMa.txt `
7171```
72724 Tundra
73734 Volcanic Island
@@ -95,7 +95,7 @@ Sideboard
95954 Wasteland
9696```
9797
98- ##### Output
98+ #### Output
9999```
100100$ python mtgdpc.py decklist/MoMa.txt
101101
@@ -134,7 +134,7 @@ side ) price: 9155
134134total price (main + side): 360240
135135
136136```
137- #### ` decklist/ ` [ 5-Color-Aggro] ( http://mtgwiki.com/wiki/%EF%BC%95%E8%89%B2%E3%83%87%E3%83%83%E3%82%AD )
137+ ### ` decklist/ ` [ 5-Color-Aggro] ( http://mtgwiki.com/wiki/%EF%BC%95%E8%89%B2%E3%83%87%E3%83%83%E3%82%AD )
138138```
1391395-Color-Aggro [2]
140140土地 (24)
@@ -169,7 +169,7 @@ total price (main + side): 360240
1691692 クァーサルの群れ魔道士/Qasali Pridemage
1701702 領土を滅ぼすもの/Realm Razer
171171```
172- ##### Output
172+ #### Output
173173```
174174$ python mtgdpc.py decklist/5-Color-Aggro.txt
175175
@@ -213,7 +213,7 @@ side ) price: 350
213213total price (main + side): 31607
214214```
215215
216- ### Future Enhancements
216+ ## Future Enhancements
217217
218218- Introduce:
219219 - `Pandas` to manage it with `DataFrames`.
0 commit comments