-
Notifications
You must be signed in to change notification settings - Fork 59
Conversation
… to write... Time for a beer
Added legacy api overide for restart & scale
and most of the documentation completed
Been using this code in production for a while now. Have just added the OAuth support - but haven't been able to test it, as I don't have a production use case for it. The projects on my repo for managing and scaling celery workers uses this too I've also just updated the code to be compatible with the latest changelog |
We've been running this in production for nearly 12 months now. No problems found. |
@martyzz1 are you still using this in production? Seems like heroku has dropped support for this library. Do you have a public repo with your copy? |
yes its here @BenLiyanage https://github.com/martyzz1/heroku3.py pip install heroku3 |
Sweet--is this going to be more or less compatible with the previous one? I haven't done a lot of automation done yet, but I have a couple things with quite a bit of defensive coding around all the inappropriate exceptions that were being thrown by this package. |
It's based from the same stack so it should be pretty compatible, but some feature/functions changed so much in the new api that the code for these couldn't remain backwards compatible. Take a look at https://github.com/martyzz1/heroku3.py/blob/master/heroku3/examples.py for an idea of code usage. |
This project has been deprecated for some time, and is now being sunset. We recommend that you use the maintained https://github.com/martyzz1/heroku3.py instead. |
Due to the changes in the API at Heroku, I haven't made any effort to make this version completely backwards compatible, but those familliar with the original version should find this close enough.
One of the biggest differences is that a lot of the GET methods have been changed from Attributes to methods, to support the Range API header.
I bumped the version to 3.0.0 to align with the API itself.
I've fleshed out pretty much all of the functionality on offer from the Heroku API.
I'll be rolling this code into one of my own production projects, so it should get some live testing shortly...