WDAPI - WoW Database API menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Zaxer's Avatar Contributor
    Reputation
    92
    Join Date
    Sep 2008
    Posts
    159
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    WDAPI - WoW Database API

    WDAPI is a Spring-based RESTful server that communicates with MySQL to receive requests and respond to them with database information.
    All responses are in json format.
    It works like so:

    Current mappings include:
    Code:
    /newaccount
    
    Parameters:
    username: the username of the new account password: the hashed password of the new account
    Returns:
    True if the creation was successful, false if not
    /realms
    Returns:
    All of the realms
    /updatepassword
    Parameters:
    username: the username of the account password: the new hashed password
    Returns:
    True if the creation was successful, false if not
    /allcharacters
    Returns:
    All of the characters
    /getcharacter
    Parameters:
    name: the name of the character
    Returns:
    Information about the character
    /gettoken
    Parameters:
    username: the username of the WDAPI admin account password: the password of the WDAPI admin account
    Returns:
    The current session token
    /allitems Returns:
    All items
    /getitem
    Parameters:
    entry: the entry ID of the item
    Returns:
    The item with the specified entry ID
    /getmail
    Parameters:
    charname: the character name of which you want to get the mail
    Returns:
    The list of letters in the character's mailbox
    /login
    Parameters:
    username: the username of the private server account password: the password of the private server account
    Returns:
    The account information if the log in was successful, otherwise null
    The application is written in Java, which means it's cross-platform. Start by navigating to the WDAPI directory and run:
    Code:
    java -jar wdapi.jar
    To run it in background on Linux, run this instead:
    Code:
    nohup java -jar wdapi.jar &
    When sending a request to the server you will need to specify a header.
    The header name is "token".
    The header value is the token you got when starting WDAPI. It is also located in token.txt in the same directory as WDAPI.

    In the same directory as there are two .json files that are used for configuration. It's important to specify what admin username and password you want, so the /gettoken will work correctly.

    Download:
    Click me

    Installation:
    Linux (in bash):
    Download the .zip:
    Code:
    wget "http://viggolunden.com/wdapi/wdapi.zip"
    Unzip it:
    Code:
    unzip wdapi.zip
    Run it (in background):
    Code:
    nohup java -jar "wdapi 0.1.jar" &
    Windows
    Download and unzip the file.
    Run it from command prompt.

    Enjoy!
    Last edited by Zaxer; 09-24-2016 at 10:24 AM.

    WDAPI - WoW Database API
  2. Thanks stoneharry (1 members gave Thanks to Zaxer for this useful post)
  3. #2
    stoneharry's Avatar Moderator Harry

    Authenticator enabled
    Reputation
    1613
    Join Date
    Sep 2007
    Posts
    4,554
    Thanks G/R
    151/146
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Cool idea, gives a good API for providing this functionality to players; probably through a website interface.

  4. #3
    Zaxer's Avatar Contributor
    Reputation
    92
    Join Date
    Sep 2008
    Posts
    159
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    Cool idea, gives a good API for providing this functionality to players; probably through a website interface.
    Thanks! Added download link.

Similar Threads

  1. RE: Hacking WoW Database question
    By jinktreek in forum World of Warcraft General
    Replies: 44
    Last Post: 05-21-2010, 11:01 AM
  2. Arcemu 3.0.3 TBC Wow Database?
    By PricedTundra in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 12-06-2008, 03:44 PM
  3. [Release]Eternal WoW Database RELEASE *WOTLK*
    By fyrruu in forum WoW EMU General Releases
    Replies: 8
    Last Post: 11-23-2008, 12:47 AM
  4. Own WoW database site?
    By luckyftw in forum World of Warcraft General
    Replies: 0
    Last Post: 06-20-2008, 03:00 PM
  5. [Poll] Best WoW Database Vote Now!!!
    By EnderfectX in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 12-25-2007, 05:03 PM
All times are GMT -5. The time now is 10:34 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search