<commit_before><?PHP
/**
 * php-foursquare
 *
 * Implementation of foursquare API
 *
 * @category   HTTP
 * @package    php-foursquare
 * @author     <NAME> <<EMAIL>>
 * @copyright  2010 <NAME> <<EMAIL>>
 * @license    http://www.opensource.org/licenses/mit-license.php MIT License
 * @link       https://github.com/isamu/php-foursquare/
 *
 */

class Foursquare
{
    
    private $auth;
    /**
     * Base url
     *
     * @var string $base_url of foursquare API
     */
    private $base_url = 'http://api.foursquare.com/v1/';
    private $method = array('checkins' => array('get', true),
                            'checkin' => array('post', true),
                            'history' => array('get', true),
                            'user' => array('get', true),
                            'friends' => array('get', true),
                            'venues' => array('get', false),
                            'venue' => array('get', false),
                            'categories' => array('get', false),
                            'addvenue' => array('post', true),
                            'venue/proposeedit' => array('post', true),
                            'venue/flagclosed' => array('post', true),
                            'tips' => array('get', false),
                            'addtip' => array('post', true),<commit_msg>add comment<commit_after><?PHP
/**
 * php-foursquare
 *
 * Implementation of foursquare API
 *
 * @category   HTTP
 * @package    php-foursquare
 * @author     <NAME>
 * @copyright  2010 <NAME>
 * @license    http://www.opensource.org/licenses/mit-license.php MIT License
 * @link       https://github.com/isamu/php-foursquare/
 *
 */

class Foursquare
{
    
    private $auth;
    /**
     * Base url
     *
     * @var string $base_url of foursquare API
     */
    private $base_url = 'http://api.foursquare.com/v1/';
    private $method = array('checkins' => array('get', true),
                            'checkin' => array('post', true),
                            'history' => array('get', true),
                            'user' => array('get', true),
                            'friends' => array('get', true),
                            'venues' => array('get', false),
                            'venue' => array('get', false),
                            'categories' => array('get', false),
                            'addvenue' => array('post', true),
                            'venue/proposeedit' => array('post', true),
                            'venue/flagclosed' => array('post', true),
                            'tips' => array('get', false),
                            'addtip' => array('post', true),
{'fraction_non_alphanumeric': 0.15875370919881307, 'fraction_numerical': 0.00370919881305638, 'mean_word_length': 1.451818181818182, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 37, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '1301038', 'n_tokens_mistral': 754, 'n_tokens_neox': 741, 'n_words': 156}