An unofficial Overwatch and Overwatch League HTTP API and NodeJS module.
- Profile Data*
- Career Stats*
- Overwatch League Data
- Live Match
- Standings
- Schedule
**Please note, as of the JUNE 26, 2018 patch, Career Profiles will no longer be public by default (now defaults to Friends Only). An option to make Career Profiles visible has been added under Options > Social > Profile Visibility.
Your profile MUST be public to view most profile and career stats with this API.
Source: https://playoverwatch.com/en-us/news/patch-notes/pc#patch-47946
See: https://overwatchy.com/docs/
If you wish to use the Javascript API in your own project, see api/README.md.
curl http://overwatchy.com/profile/pc/us/Calvin-1337
{
"username":"Calvin",
"level":813,
"portrait":"https://d1u1mce87gyfbn.cloudfront.net/game/unlocks/0x0250000000000EF7.png",
"games":{
"quickplay":{
"won":647
},
"competitive":{
"won":59,
"lost":48,
"draw":1,
"played":108
}
},
"playtime":{
"quickplay":"129 hours",
"competitive":"23 hours"
},
"competitive":{
"rank":4420,
"rank_img":"https://d1u1mce87gyfbn.cloudfront.net/game/rank-icons/season-2/rank-7.png"
},
"levelFrame":"https://d1u1mce87gyfbn.cloudfront.net/game/playerlevelrewards/0x025000000000096F_Border.png",
"star":"https://d1u1mce87gyfbn.cloudfront.net/game/playerlevelrewards/0x025000000000096F_Rank.png"
}- Node v6.0+
git clone https://github.com/alfg/overwatch-api.git
cd overwatch-api
npm install
npm startOr deploy your own Heroku instance!
This project is built using srv, a microservices stack based on express. After installation, run the project using the following:
node node_modules/srv-cli/build/srv app/index.jsnodemon is recommended for auto-reloading during development:
nodemon node_modules/srv-cli/build/srv app/index.jsGenerate docs with the --docs app/routes flag.
See srv documentation for more info on srv specific options.
MIT
