Move mtgsdk from cardvault module.

This commit is contained in:
luxick
2017-04-17 17:48:44 +02:00
parent ba1ffa7864
commit c2856439c7
15 changed files with 29 additions and 17 deletions

19
mtgsdk/supertype.py Normal file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of mtgsdk.
# https://github.com/MagicTheGathering/mtg-sdk-python
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Andrew Backes <backes.andrew@gmail.com>
from mtgsdk.querybuilder import QueryBuilder
class Supertype(object):
RESOURCE = 'supertypes'
@staticmethod
def all():
return QueryBuilder(Supertype).array()