location_quantities --> locationQuantities
This commit is contained in:
@@ -117,7 +117,7 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"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"]))
|
return(ddApiQuantitie(self.get(self.url + "/quantities")["results"]))
|
||||||
|
|
||||||
def location_quantities(self, location):
|
def locationQuantities(self, location):
|
||||||
"""location_quantities(location)
|
"""locationQuantities(location)
|
||||||
|
|
||||||
location: A dd-api location (e.g. hoekvanholland)
|
location: A dd-api location (e.g. hoekvanholland)
|
||||||
|
|
||||||
|
@@ -17,7 +17,7 @@ def quantities(rws):
|
|||||||
print(f)
|
print(f)
|
||||||
|
|
||||||
def quantitiesHoekvanHolland(rws):
|
def quantitiesHoekvanHolland(rws):
|
||||||
q = rws.location_quantities("hoekvanholland")
|
q = rws.locationQuantities("hoekvanholland")
|
||||||
print(type(q))
|
print(type(q))
|
||||||
for f in q.quantities():
|
for f in q.quantities():
|
||||||
print(f)
|
print(f)
|
||||||
|
Reference in New Issue
Block a user