iamkubi / pydactyl

Python wrapper for the Pterodactyl Panel API
MIT License
69 stars 21 forks source link

`create_server` has no external_id argument #71

Closed Nzii3 closed 1 year ago

Nzii3 commented 1 year ago

This should have the external_id argument, since Ptero servers allow that.

Another question, how can I get a server’s UUID/ID when creating a server? Shouldn’t it return an object instead of a status code? This wrapper seems like it needs work.

iamkubi commented 1 year ago

https://github.com/iamkubi/pydactyl/pull/67 is open for the external_id, I'll get it merged sooner or later.

It does return an object.

Nzii3 commented 1 year ago

67 is open for the external_id, I'll get it merged sooner or later.

It does return an object.

I get a response 201 object. But that doesn’t give me information.

Nzii3 commented 1 year ago

The server is created through.

iamkubi commented 1 year ago

Fixed by bfc90d81383c56ae91d527e1c7e4c1e5972eb9e1