location_quantities --> locationQuantities
This commit is contained in:
@@ -117,7 +117,7 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"quantities_hoek = rws.location_quantities(\"hoekvanholland\")"
|
||||
"quantities_hoek = rws.locationQuantities(\"hoekvanholland\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@@ -79,8 +79,8 @@ Request the list of quantities and return a ddApiQuntitie object.
|
||||
"""
|
||||
return(ddApiQuantitie(self.get(self.url + "/quantities")["results"]))
|
||||
|
||||
def location_quantities(self, location):
|
||||
"""location_quantities(location)
|
||||
def locationQuantities(self, location):
|
||||
"""locationQuantities(location)
|
||||
|
||||
location: A dd-api location (e.g. hoekvanholland)
|
||||
|
||||
|
@@ -17,7 +17,7 @@ def quantities(rws):
|
||||
print(f)
|
||||
|
||||
def quantitiesHoekvanHolland(rws):
|
||||
q = rws.location_quantities("hoekvanholland")
|
||||
q = rws.locationQuantities("hoekvanholland")
|
||||
print(type(q))
|
||||
for f in q.quantities():
|
||||
print(f)
|
||||
|
Reference in New Issue
Block a user