Introduction

This will show you how you can access the API from various languages. The first thing you should do is create an account on the site. Once that is done, you'll be able to access your API Key from the account page. You'll be needing that to make all of your API calls by putting it into the header of the call

Examples

Python
                        
    import requests, json
    r = requests.get("your API call here", headers={"apiKey": "your API key here"})
    data = json.loads(r.text)
    print data # Python 2.X
    print(data) # Python 3.X Ugh
                    
Javascript
                        
	var xhr = new XMLHttpRequest();
	xhr.onreadystatechange = function() {
	    if (xhr.readyState == XMLHttpRequest.DONE) {
	        alert(xhr.responseText);
	    }
	}
	xhr.open('GET', 'your API call here', true);
	xmlhttp.setRequestHeader("apiKey", "your API key here");
	xhr.send(null);
                    

eSports Documentation (Click the logo)