Skip to content

Loads a World of Warcraft character avatar from Blizzard's Battle.net API and renders it in a pop art style.

License

Notifications You must be signed in to change notification settings

stevecochrane/andy-wowhol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

andy-wowhol

A silly toy Node app where you input a World of Warcraft realm name and character name, which then displays that character's avatar in an Andy Warhol pop art style with CSS color filters. This was done to learn more about building applications with Node and Express, and to try making something with the Battle.net API. I would link to an example but this isn't publicly hosted anywhere since I don't have a place to host Node apps yet.

A lot of this was learned from the excellent book Web Development with Node & Express by Ethan Brown.

Preview

Andy WoWhol input screen

Andy WoWhol output screen

Setup

If you want to run this locally you'll need to register for a Battle.net API account and make an application. The app expects there to be a credentials.js file in the base directory with the application's API key and secret, which should look like this:

module.exports = {
    battlenet: {
        consumerKey: "",
        consumerSecret: ""
    }
};

Once you've added that with your key and secret, and assuming you already have Node installed, navigate to the base directory with a command line interface and do this:

npm install
gulp
node andy-wowhol.js

This will run the application locally. For the best visuals, install the Futura PT font family locally with Typekit.

Legal Disclaimer

Blizzard is the source of the data, but Blizzard is not endorsing and is not affiliated with this application. This application is consistent with Blizzard's Privacy Policy. Data is provided to players on an "as is" basis consistent with the disclaimers in Section 7. This application does not collect, use, store or disclose any player's personal information or data in any manner that violates applicable laws, rules or regulations. This application does not collect, use or store any player's personal information. This application does not collect, store or otherwise intercept a player's Battle.net password.

About

Loads a World of Warcraft character avatar from Blizzard's Battle.net API and renders it in a pop art style.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published