<commit_before>#!/bin/bash
# Requestinator, version 0

# Purpose of this file is to make api calls to the Betfair API-NG
# It will take arguments calling on a function to make a specifc api call.
# Such as get session token, get market data etc.

# Init variables
SESSION_TOKEN=<PASSWORD>

# Arguments
args=("$@")

# prints all arguments
#echo $@ 

# prints specific item in argument list
#echo ${args[0]} ${args[1]} ${args[2]}

# Currently only work with first argument
option=${args[0]}

# param to be used in that option
param=${args[1]}


#get session token and set to variable
function getSessionToken(){<commit_msg>Can now use requestinator to get session token<commit_after>#!/bin/bash
# Requestinator, version 0

# Purpose of this file is to make api calls to the Betfair API-NG
# It will take arguments calling on a function to make a specifc api call.
# Such as get session token, get market data etc.

# Init variables, can't remember why I assigned the variable here,
# something to do with scope I suppose...
SESSION_TOKEN=<PASSWORD>

# Arguments
args=("$@")

# prints all arguments
#echo $@ 

# prints specific item in argument list
#echo ${args[0]} ${args[1]} ${args[2]}

# Currently only work with first argument
option=${args[0]}

# param to be used in that option
param=${args[1]}


#get session token and set to variable
function getSessionToken(){
{'fraction_non_alphanumeric': 0.10314557425018288, 'fraction_numerical': 0.008778346744696415, 'mean_word_length': 4.62962962962963, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5239426', 'n_tokens_mistral': 413, 'n_tokens_neox': 397, 'n_words': 187}