<commit_before><?php

namespace Jolita\DiscogsApiWrapper;

use GuzzleHttp\Client;

class DiscogsApi
{
    protected $resources;
    protected $config;
    protected $baseUrl;
    protected $token;
    protected $userAgent;

    public function __construct($token, $userAgent = null)
    {
        $this->userAgent = $userAgent;
        $this->token = $token;
        $this->baseUrl = 'https://api.discogs.com';
    }

    public function artist(string $id)
    {
        return $this->get('artists', $id, [], false);
    }

    public function artistReleases(string $artistId)
    {
        $resource = "artists/{$artistId}/releases";
<commit_msg>remove unused fields<commit_after><?php

namespace Jolita\DiscogsApiWrapper;

use GuzzleHttp\Client;

class DiscogsApi
{
    protected $baseUrl;
    protected $token;
    protected $userAgent;

    public function __construct($token, $userAgent = null)
    {
        $this->userAgent = $userAgent;
        $this->token = $token;
        $this->baseUrl = 'https://api.discogs.com';
    }

    public function artist(string $id)
    {
        return $this->get('artists', $id, [], false);
    }

    public function artistReleases(string $artistId)
    {
        $resource = "artists/{$artistId}/releases";

{'fraction_non_alphanumeric': 0.13258785942492013, 'fraction_numerical': 0.0, 'mean_word_length': 2.927899686520376, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 2, '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': '6843145', 'n_tokens_mistral': 403, 'n_tokens_neox': 388, 'n_words': 82}