Revert "Add function to request csv from CubeTutor"
This reverts commit 636fff4c93.
This commit is contained in:
parent
65a8a9a8b7
commit
2796b3a097
1 changed files with 0 additions and 7 deletions
|
|
@ -1,16 +1,9 @@
|
|||
import csv
|
||||
import json
|
||||
import requests
|
||||
|
||||
from word_count import EXPECTED_HEADER, COLUMNS, TEMP_JSON, is_actual_mtg_card
|
||||
|
||||
|
||||
def request_cube_csv(cube_name, cube_id):
|
||||
url = f'https://cubecobra.com/cube/download/csv/{cube_id}'
|
||||
url += '?primary=Color%20Category&secondary=Types-Multicolor&tertiary=CMC2'
|
||||
response = requests.get(url)
|
||||
|
||||
|
||||
def load_cube_from_csv(filename, tag_filter=None):
|
||||
cards = []
|
||||
with open(filename) as f:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue