<commit_before><commit_msg>Add Coinbase spot rate example<commit_after><?php
require '../src/Curl.class.php';


$curl = new Curl();
$curl->get('https://coinbase.com/api/v1/prices/spot_rate');

echo
    'The current price of bitcoin at Coinbase is ' .
    '$' . $curl->response->amount . ' ' . $curl->response->currency . '.' . "\n";
{'fraction_non_alphanumeric': 0.20481927710843373, 'fraction_numerical': 0.0030120481927710845, 'mean_word_length': 3.625, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 8, 'https://': 1, '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': '2339403', 'n_tokens_mistral': 121, 'n_tokens_neox': 113, 'n_words': 23}