GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - punparin/solomon-api: A REST API to retrieve Yugioh OCG cards' price

BranchesTags
Open more actions menu

Latest commit

 

History

15 Commits
15 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
src
src
 
 
.gitignore
.gitignore
 
 
Earthfile
Earthfile
 
 
README.md
README.md
 
 
config.json
config.json
 
 
docker-compose.yaml
docker-compose.yaml
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

solomon-api

is an API retrieving Yugioh OCG cards' price by scraping data from bigweb and YUYU-TEI.

Usage

Params Description Example
name Card's name in japanese ユニオン・キャリアー
source Either bigweb or yuyutei bigweb

curl http://localhost/api/cards?name=ユニオン・キャリアー&source=yuyutei

{
  "cards": [
    {
      "condition": "Play",
      "id": "LVP3-JP011",
      "jp_name": "ユニオン・キャリアー",
      "price": "2980",
      "rarity": "SCR"
    },
    {
      "condition": "Play",
      "id": "LVP3-JP011",
      "jp_name": "ユニオン・キャリアー",
      "price": "980",
      "rarity": "UR"
    }
  ],
  "url": "https://yuyu-tei.jp/game_ygo/sell/sell_price.php?name=%E3%83%A6%E3%83%8B%E3%82%AA%E3%83%B3%E3%83%BB%E3%82%AD%E3%83%A3%E3%83%AA%E3%82%A2%E3%83%BC"
}

For development

Setup development environment

virtualenv venv
# For fish
source venv/bin/activate.fish
# For shell
source venv/bin/activate
pip install -r requirements.txt

Running on local

# Run on machine
gunicorn --bind 0.0.0.0:8080 --pythonpath src wsgi:app

# Run on docker
earthly +compose-up
earthly +compose-down

Release

earthly --build-arg TAG=<TAG> --push +release

About

A REST API to retrieve Yugioh OCG cards' price

Topics

hacktoberfestocgrest-apiyugioh

Resources

Readme
Activity

Stars

6 stars

Watchers

1 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.