Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Feature heroku api v3 #41

Closed
wants to merge 125 commits into from
Closed

Conversation

martyzz1
Copy link

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...

@martyzz1
Copy link
Author

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
https://github.com/martyzz1/heroku_proc_scalar_app
https://github.com/martyzz1/heroku_proc_scalar

I've also just updated the code to be compatible with the latest changelog
https://devcenter.heroku.com/changelog

@martyzz1
Copy link
Author

We've been running this in production for nearly 12 months now. No problems found.

@BenLiyanage
Copy link

@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?

@martyzz1
Copy link
Author

yes its here @BenLiyanage

https://github.com/martyzz1/heroku3.py

pip install heroku3

@BenLiyanage
Copy link

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.

@martyzz1
Copy link
Author

martyzz1 commented Jan 4, 2016

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.

@edmorley
Copy link
Member

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.

@edmorley edmorley closed this Oct 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants