Code Monkey home page Code Monkey logo

ygopricesapi's Introduction

YGOPricesAPI

A Python wrapper around the yugiohprices.com API.

Usage:

from prices import YGOPricesAPI
api = YGOPricesAPI()

get_price_by_name

Retrieves price data for every version of a card using its name

>>> api.get_price_by_name('Blue-Eyes White Dragon')

get_price_by_tag

Retrieve price data for a specific version of a card using its print tag

>>> api.get_price_by_tag('YSKR-EN001', rarity='Secret Rare')

get_set_data

Returns rarities and low/high/average prices for each card in the set.

>>> api.get_set_data('Legend of Blue Eyes White Dragon')

get_sets

Retrieve list of all set names in Yugioh Prices database

>>> api.get_sets()

get_rising_and_falling()

Retrieve rising and falling cards list

>>> api.get_rising_and_falling()

get_top_100(rarity=None)

Retrieve Top 100 most expensive cards

>>> api.get_top_100(rarity='Secret Rare')

get_card_names()

Retrieve all cards name

>>> api.get_card_names()

get_card_data(name)

Retrieve all information for a card using its name

>>> api.get_card_data('Blue-Eyes White Dragon')

get_card_versions(name)

Retrieve a list of all known versions of a card using its name

>>> api.get_card_versions('Blue-Eyes White Dragon')

get_card_support(name)

Retrieve a list of support cards for a given card using its name

>>> api.get_card_support('Blue-Eyes White Dragon')

ygopricesapi's People

Contributors

dependabot[bot] avatar ronaldtheodoro avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ronaldtheodoro

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.