Skip to content

Commit d2fce8b

Browse files
clarkfitzgy-p
authored and
y-p
committed
changed get_countries URL
1 parent bbae6c1 commit d2fce8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/wb.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def _get_data(indicator="NY.GNS.ICTR.GN.ZS", country='US',
106106
def get_countries():
107107
'''Query information about countries
108108
'''
109-
url = 'http://api.worldbank.org/countries/all?format=json'
109+
url = 'http://api.worldbank.org/countries/?per_page=1000&format=json'
110110
with urlopen(url) as response:
111111
data = response.read()
112112
data = json.loads(data)[1]

0 commit comments

Comments
 (0)