Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endpoint not implemented on the wrapper #10

Open
MineMS49 opened this issue Mar 14, 2019 · 1 comment
Open

Endpoint not implemented on the wrapper #10

MineMS49 opened this issue Mar 14, 2019 · 1 comment

Comments

@MineMS49
Copy link

The API of C14 has an endpoint,GET /storage/c14/archive that returns a list of user's archives, that is not present on this wrapper.

@MineMS49
Copy link
Author

As I look in the code I post here the function to add in class C14(object),

def get_archives(self):
    """Get a list of user's archives"""
    try:
        res = self.api.storage.c14.archive.get()
    except slumber.exceptions.HttpClientError as e:
        res = self.handle_error(e)
    except slumber.exceptions.HttpServerError as e:
        res = self.handle_error(e)
    return res

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant