Get the Desktop App for Battle.net Now
- All your games in 1 place
- Log in once
- Automatic game updates
Diablo 3 Web API (PHP Bridge)
This is meant to be very simple & easy to use.
You are free to re-purpose this for any other coding needs or projects.
Minimal validation is being done to the inputs. If you feel that is not enonugh, be my guest and improve it.
Notes: Image folder needs to be in the following structure:
Get Career Profile
Get Hero Profile
Get Item Information
Get Follower Information
Get Artisan Information
Get Item Image
Get Skill Image
Get Skill Tooltip
Get Skill Rune Tooltip
If any of you guys have any suggestions or requests please let me know.
Any help and/or suggestions are welcomed and very helpful.
Edited by XjSv#1677 on 9/14/2012 8:59 PM PDT
Hi XjSv, i'm actually practicing with ur script, but i have a problem that i cannot solve:
the problem is that instead of taking the value of $battletag, this takes directly the variable name. i've tried with different methods that i know to solve it, but without any good results.
Can u help me?
Hmm I don't see how it can take the literal variable name and not its value which should be a string.
Try this and see what the actual post is giving you:
$battletag = $_POST['bt'];
$Diablo3 = new Diablo3($battletag, 'us', 'en_US');
Threats of violence. We take these seriously and will alert the proper authorities.
Posts containing personal information about other players. This includes physical addresses, e-mail addresses, phone numbers, and inappropriate photos and/or videos.
Harassing or discriminatory language. This will not be tolerated.