benkonrath / transip-api

Python implementation for the TransIP API
https://transip-api.readthedocs.io/en/latest/
MIT License
23 stars 23 forks source link

New API version #61

Closed marklagendijk closed 2 years ago

marklagendijk commented 4 years ago

Just wanted to give you a heads-up, TransIP has released a new version of their API. Good news: the API is a nice REST API that is way simpler to use than the previous sort-of-soap-based API. So this library would be a lot simpler when it uses the new API. Bad news: this library needs to be updated.

I created transip-dns-cli with this new API. If you want to update this library to the new API, you may find this helpful (especially the implementation of the token request, because that is not so well documented).

olafz commented 4 years ago

See also https://github.com/benkonrath/transip-api/issues/60#issuecomment-597299444

meeuw commented 4 years ago

I've found these other Python projects implementing the TransIP REST API:

https://github.com/mathijswesterhof/TransIp_Rest_api_python https://github.com/startmail/transip_rest_client

Would it make sense to update this project to the REST API?

benkonrath commented 4 years ago

If there's already a solid implementation wrapping the REST API in Python then updating this library probably doesn't make sense.

In any case, I don't have a lot of extra time right now and I don't really use TransIP these days so I'd likely not update it any time soon. I'm definitely open to somebody taking on the work if they feel that it's worthwhile.

roaldnefs commented 3 years ago

I'm currently working on a new Python client for the TransIP REST API (v6) called python-transip. It's far from being a solid implementation yet, but the quick-start instructions should give an impressions of its current capabilities.

Instead of having to fully implement each and every endpoint, I'm trying to implement a more dynamic way to allow each resource/service to inherit from a set of mixins that provide more discrete functionality. This should allow for easier and faster implementing of the currently still missing endpoints. See the DomainService (used to query the /domains endpoint) for example.

Please file an issue if you are missing something, or would like to have a specific endpoint to be implemented with a higher priority. Any help is appreciated!

benkonrath commented 3 years ago

Thanks @roaldnefs! Feel free to add a link in the README to your library.

You can also mark this library as depreciated when you think your library is ready. It might be worthwhile to reach out to some of our users to inform them that they should consider updating to your library: https://github.com/benkonrath/transip-api/network/dependents

Thanks for working this!