mirror of
https://github.com/CodingIsOurPassion/CodingIsOurPassion.git
synced 2025-01-02 14:29:26 -06:00
15 lines
332 B
Python
15 lines
332 B
Python
import json
|
|
import dataclasses
|
|
from lakewatchscraper.waterdata import ReservoirDayData
|
|
|
|
|
|
def main():
|
|
print("Scraping Water Data for Canyon Lake")
|
|
print("===================================")
|
|
for row in ReservoirDayData.scrape():
|
|
print(json.dumps(dataclasses.asdict(row)))
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|