-
Notifications
You must be signed in to change notification settings - Fork 2
/
money_rush.rb
110 lines (108 loc) · 1.87 KB
/
money_rush.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
areas = [
'Sarjapur Road',
'Whitefield',
'Bannerghatta Road',
'Electronic City',
'HSR Layout',
'Jayanagar',
'JP Nagar',
'Hosur Road',
'Indira Nagar',
'Koramangala',
'Yelahanka',
'Devanahalli',
'Marathahalli',
'Hebbal',
'Kanakapura Road',
'Hennur Road',
'C V Raman Nagar',
'Kalyan Nagar',
'RT Nagar',
'Jalahalli',
'Ramamurthy Nagar',
'Brooke Field',
'Jakkur',
'Dollars Colony' ,
'Kundalahalli',
'Madiwala',
'Fraser Town',
'Gottigere',
'Basavanagar',
'Nagarbhavi',
'Belandur',
'Chamarajpet',
'Lavelle Road',
'Kodigehalli',
'Hanumanth Nagar',
'Thanisandra',
'Sarjapur',
'Jigani Industrial Area',
'Mathikere',
'Rajajinagar',
'MG Road',
'HBR Layout',
'Banaswadi',
'Uttarahalli',
'Thippasandra',
'Banashankari',
'Bagalur',
'Horamavu',
'KR Puram',
'Bommanahalli',
'Mysore Road',
'Silkboard',
'RMV Extension Stage',
'Old Madras Road',
'Kasturi Nagar',
'Vidyaranyapura',
'Mahadevapura',
'Rajarajeshwari Nagar',
'Malleshwaram',
'Hulimavu',
'Thyagaraj Nagar',
'Basaveshwaranagar',
'Airport Area',
'Kumaraswamy Layout',
'Sanjay Nagar',
'Kudlu Gate',
'Hoodi Village',
'Millers Road',
'Vijaya Bank Layout',
'Shanti Nagar',
'Tippasandra',
'Yeshwantpur',
'Jeevan Bima Nagar',
'Cox Town',
'Ulsoor',
'Benson Town',
'ITPL',
'Doddaballapur',
'Nagwar',
'Attibele',
'Padmanabhanagar',
'Vijayanagar',
'Kengeri',
'Peenya',
'Magadi Road',
'NelaMangala',
'Sahakar Nagar',
'Dodballapur Road',
'Basavanagudi',
'Domlur',
'Bellary Road',
'Majestic',
'Vasanth Nagar',
'Wilson Garden',
'Nagawara',
'Central Silk Board',
'Hennur',
'Bangalore'
]
areas.each do |area|
['atm', 'bank', 'postoffice'].each do |type|
query_string = type + '+' + area
puts query_string
MoneyRushData::Api::Data.new query_string
puts MoneyRush.count
end
end