<commit_before>// Copyright (C) 2014 <NAME> <<EMAIL>>
'use strict';

var Xhr = require('./Xhr');

//// Data
var xhrs = [
  new Xhr({
    name: 'What\'s my IP?',
    method: 'GET',
    url: 'http://www.suri.io/ip',
    info: 'Get your local machine\'s IP address'
  }),
  new Xhr({
    name: 'Google Search',
    method: 'GET',
    url: 'https://ajax.googleapis.com/ajax/services/search/web?v=1.0&q={{searchTerm}}',
    queryParameterOptions: [
      {
        parameter: 'v',
        values: ['1.0'],
        default: '1.0',
        required: true
      },
      {
        parameter: 'q',
        values: [],
        default: '{{searchTerm}}',
        required: true
      }
    ],
    tags: ['search', 'google']<commit_msg>new  api<commit_after>// Copyright (C) 2014 <NAME> <<EMAIL>>
'use strict';

var Xhr = require('./Xhr');

//// Data
var xhrs = [
  new Xhr({
    name: 'What\'s my IP?',
    method: 'GET',
    url: 'http://www.suri.io/ip',
    info: 'Get your local machine\'s IP address'
  }),
  new Xhr({
    name: 'suri.io elasticsearch query with owner',
    method: 'GET',
    url: 'http://www.suri.io/xhr?owner=eyekZd6Qo&q=google',
    info: 'Search a user\'s APIs'
  }),
  new Xhr({
    name: 'Google Search',
    method: 'GET',
    url: 'https://ajax.googleapis.com/ajax/services/search/web?v=1.0&q={{searchTerm}}',
    queryParameterOptions: [
      {
        parameter: 'v',
        values: ['1.0'],
        default: '1.0',
        required: true
      },
      {
        parameter: 'q',
        values: [],
        default: '{{searchTerm}}',
        required: true
      }
    ],
    tags: ['search', 'google']
{'fraction_non_alphanumeric': 0.1974169741697417, 'fraction_numerical': 0.012915129151291513, 'mean_word_length': 2.177734375, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 3, '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': '2447357', 'n_tokens_mistral': 586, 'n_tokens_neox': 576, 'n_words': 135}