<commit_before>package DDG::Spice::IndegoBikeshareLocations;


use strict;
use DDG::Spice;

name 'PHL Indego Bikeshare Locations';
source 'Indego Philadelphia';
icon_url 'http://www.rideindego.com/';
description 'Search Indego Bike stations in Philadelphia';
primary_example_queries 'indego philadelphia', 'bikeshare philadelphia';
secondary_example_queries 'philly bikeshare';
category 'geography';
topics 'everyday', 'travel', 'entertainment', 'geography';
code_url 'https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/PHLBikeshare/IndegoBikeshareLocations.pm';
attribution github => 'AcriCAA',
            web  => ['http://www.coreyacri.com',  '<NAME>'];

triggers any => 'philly bikeshare', 'indego', 'bikeshare', 'bike share', 'ride indego', 'philadelphia bikeshare';

spice to => 'https://api.phila.gov/bike-share-stations/v1';
spice wrap_jsonp_callback => 1;
spice proxy_cache_valid => '200 304 15m';

handle remainder => sub {
    $loc->city.' '.$_ =~ /(philadelphia|phl)/i;
    return unless $1;
    return $1;

};

1;<commit_msg>final changes before pull request<commit_after>package DDG::Spice::IndegoBikeshareLocations;

use strict;
use DDG::Spice;

name 'PHL Indego Bikeshare Locations';
source 'Indego Philadelphia';
icon_url 'http://www.rideindego.com/';
description 'Search Indego Bike stations in Philadelphia';
primary_example_queries 'indego philadelphia', 'bikeshare philadelphia';
secondary_example_queries 'philly bikeshare';
category 'geography';
topics 'everyday', 'travel', 'entertainment', 'geography';
code_url 'https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/PHLBikeshare/IndegoBikeshareLocations.pm';
attribution github => 'AcriCAA',
            web  => ['http://www.coreyacri.com',  '<NAME>'];

triggers any => 'indego', 'bikeshare', 'bike share', 'ride indego';

spice to => 'https://api.phila.gov/bike-share-stations/v1';
spice wrap_jsonp_callback => 1;
spice proxy_cache_valid => '200 304 15m';

handle remainder => sub {
    $loc->city.' '.$_ =~ /(philadelphia|phl|philly)/i;
    return unless $1;
    return $1;

};

1;
{'fraction_non_alphanumeric': 0.15147198480531815, 'fraction_numerical': 0.012345679012345678, 'mean_word_length': 5.584375, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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': '6961054', 'n_tokens_mistral': 784, 'n_tokens_neox': 759, 'n_words': 159}