martyzz1 / heroku3.py

This is the updated Python wrapper for the Heroku API V3. https://devcenter.heroku.com/articles/platform-api-reference The Heroku REST API allows Heroku users to manage their accounts, applications, addons, and other aspects related to Heroku. It allows you to easily utilize the Heroku platform from your applications.
Other
118 stars 73 forks source link

Add kwargs to Invoices #125

Closed DefiDebauchery closed 1 year ago

DefiDebauchery commented 1 year ago

The Invoice resource accepts range requests (created_at, id, and ids), as well as the common sorting keys. For instance: Range: created_at; order=desc,max=1

This change simply passes those to the http resource method.

codecov-commenter commented 1 year ago

Codecov Report

Base: 50.00% // Head: 48.27% // Decreases project coverage by -1.72% :warning:

Coverage data is based on head (93e84a1) compared to base (e8d5dd4). Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #125 +/- ## ========================================== - Coverage 50.00% 48.27% -1.73% ========================================== Files 32 30 -2 Lines 1436 1307 -129 Branches 178 164 -14 ========================================== - Hits 718 631 -87 + Misses 703 662 -41 + Partials 15 14 -1 ``` | [Impacted Files](https://codecov.io/gh/martyzz1/heroku3.py/pull/125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [heroku3/api.py](https://codecov.io/gh/martyzz1/heroku3.py/pull/125/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-aGVyb2t1My9hcGkucHk=) | `39.87% <0.00%> (ø)` | | | [heroku3/\_\_init\_\_.py](https://codecov.io/gh/martyzz1/heroku3.py/pull/125/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-aGVyb2t1My9fX2luaXRfXy5weQ==) | | | | [heroku3/models/\_\_init\_\_.py](https://codecov.io/gh/martyzz1/heroku3.py/pull/125/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-aGVyb2t1My9tb2RlbHMvX19pbml0X18ucHk=) | | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

martyzz1 commented 1 year ago

Thanks for this. :)

martyzz1 commented 1 year ago

https://pypi.org/project/heroku3/5.1.5/