Browse Source

API

master
Matthilde 8 months ago
parent
commit
827e26348d
3 changed files with 37 additions and 1 deletions
  1. +1
    -1
      README.txt
  2. +32
    -0
      api/cards.json
  3. +4
    -0
      index.html

+ 1
- 1
README.txt View File

@ -5,4 +5,4 @@ Epic reverse card uno.
### How to contribute
add a folder, put the card in the name of "index.jpg" or "index.png", add
the entry to index.html then pull request :>
the entry to index.html and api/cards.json then pull request :>

+ 32
- 0
api/cards.json View File

@ -0,0 +1,32 @@
{
"cards": [
{
"name": "Non-binary",
"link": "https://enby.reverse-card.uno/"
},
{
"name": "Transgender",
"link": "https://trans.reverse-card.uno/"
},
{
"name": "Gay",
"link": "https://lgbt.reverse-card.uno/"
},
{
"name": "Bi",
"link": "https://bi.reverse-card.uno/"
},
{
"name": "Pansexual",
"link": "https://pan.reverse-card.uno/"
},
{
"name": "Red",
"link": "https://red.reverse-card.uno/"
},
{
"name": "Yellow",
"link": "https://yellow.reverse-card.uno/"
}
]
}

+ 4
- 0
index.html View File

@ -21,6 +21,10 @@
all kind of reverse cards! (especially LGBT ones). YOU can
do a power move and add more reverse cards!
</p>
<p>
<b>NEW!</b> There is now an
<a href="/api/cards.json">API!</a>
</p>
</div>
<nav>
<a href="https://enby.reverse-card.uno">Non-binary</a>


Loading…
Cancel
Save