<commit_before>const http = require('http');
const qs = require('querystring');

const hostname = 'api.champion.gg';
const port = 80;

function request(route, key, query, cb) {
    if (!key) throw 'API Key Required';

    ({ query, cb } = sanitize(query, cb));
<commit_msg>Updated base url to v2<commit_after>const http = require('http');
const qs = require('querystring');

const hostname = 'api.champion.gg/v2';
const port = 80;

function request(route, key, query, cb) {
    if (!key) throw 'API Key Required';

    ({ query, cb } = sanitize(query, cb));

{'fraction_non_alphanumeric': 0.16308243727598568, 'fraction_numerical': 0.010752688172043012, 'mean_word_length': 4.480392156862745, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7503975', 'n_tokens_mistral': 191, 'n_tokens_neox': 184, 'n_words': 58}