Git Product home page Git Product logo

whatsinstandard's Introduction

What's in Standard?

What's in Standard? is a simple reference page made to help new (or not new) Magic: The Gathering players easily check which sets are currently in Standard, see when the next rotation is going to happen, and understand how rotations work.

Development

Running it locally

git clone [email protected]:glacials/whatsinstandard
cd whatsinstandard

# macOS
open index.html

# Linux
xdg-open index.html

You shouldn't need to serve the files from a web server. Opening index.html in a browser should work just fine.

Tests

The API has a few tests. You can run them with

npm test

To autorun them whenever test files update, use

npm run autotest

Tech

What's in Standard? uses Vue.js, a lightweight JavaScript framework. It fetches the setlist from its own API and filters it based on release and drop dates.

API

We've got an API. It's super slim and the output is written by hand but it works like a charm.

This is the only API call we have. It returns something like this:

{
  "deprecated": false,
  "sets": [
    {
      "name": "Battle for Zendikar",
      "block": "Battle for Zendikar",
      "code": "BFZ",
      "enter_date": "2015-10-02T00:00:00.000Z",
      "exit_date": "2017-09-29T00:00:00.000Z",
      "rough_exit_date": "Q4 2017"
    },
    ...,
  ]
{

The array is guaranteed to contain all sets currently in Standard, but also contains recently dropped sets and some future sets. For API details including how to filter them, see the API readme.

Attributions

Thanks to:

  • For SVG set icon images:
    • BaconCatBug
    • White Dragon
    • Goblin Hero
    • Skibulk
    • Baka-Neku
    • Qanadhar
    • Poopski
  • For gathering them: jninnes

whatsinstandard's People

Contributors

glacials avatar matt-forster avatar tkrajcar avatar strattondev avatar inuyasha82 avatar nightfirecat avatar kerrick avatar rrunnellssf avatar fenhl avatar frankalbenesius avatar lpghatguy avatar valbaca avatar felanor avatar dev-id avatar

Watchers

James Cloos avatar Alessandro Gomez avatar

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.