auctioneer

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2021 License: MIT

README

Auctioneer

Связной

buddy pipeline Test and Lint codecov Quality Gate Status GitHub tag (latest by date) TelegramBot


API Methods 🚀

Route Expected result
/api/v1/auc_search?item_name={{string}}&region={{string}}&realm_name={{string}} The result of the search for the requested item
/api/v1/item_media/{{int}} Awailable media for requested item ID
auc search query params Description
item_name *required Name of item to search
region *required Region of realm. Choose eu or us
realm_name *required Name of realm in the region

Getting Started 👲

  1. Clone project
  2. Create a new branch from origin/main
  3. Do go mod download in the root directory
  4. Make the magic
  5. Push branch and create merge request
  6. Be happy with the results and do it again from the beginning

Local Development 🚧

Export environment variables for example:

AUCTIONEER_BLIZZARD_EU_API_URL = "https://eu.api.blizzard.com"
AUCTIONEER_BLIZZARD_US_API_URL = "https://us.api.blizzard.com"
AUCTIONEER_BLIZZARD_AUTH_URL = "https://us.battle.net/oauth/token"
AUCTIONEER_BLIZZARD_CLIENT_SECRET = "your_client_secret"
AUCTIONEER_BLIZZARD_CLIENT_ID = "your_client_id"
AUCTIONEER_APP_PORT = ":8000"
AUCTIONEER_LOG_LEVEL = "DEBUG"

World of Warcraft API

Directories

Path Synopsis
cmd
internal
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL