Skip to content

Commit

Permalink
Merge pull request #27 from hudsonbrendon/fix/records
Browse files Browse the repository at this point in the history
fix: remove optional in params
  • Loading branch information
hudsonbrendon authored Jan 31, 2025
2 parents 3ea945e + 0c0094a commit f23a1bd
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 89 deletions.
20 changes: 20 additions & 0 deletions examples/records.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
from decouple import config

from solar_plus_intelbras import SolarPlusIntelbras

solar_plus_intelbras = SolarPlusIntelbras(
email=config("SOLAR_PLUS_EMAIL"),
plus=config("SOLAR_PLUS_PLUS"),
)


if __name__ == "__main__":
print(
solar_plus_intelbras.records(
plant_id=config("SOLAR_PLUS_PLANT_ID"),
period="day",
key="pac",
start_date="2025-02-01",
end_date="2025-02-02",
)
)
Loading

0 comments on commit f23a1bd

Please sign in to comment.