mirror of
https://github.com/derrod/legendary.git
synced 2025-01-03 04:45:28 +00:00
[api] Add method for deleting cloud saves
This commit is contained in:
parent
6cfe7a74ea
commit
ffe65b5b86
|
@ -138,3 +138,8 @@ class EPCAPI:
|
|||
|
||||
def create_game_cloud_saves(self, app_name, filenames):
|
||||
return self.get_user_cloud_saves(app_name, filenames=filenames)
|
||||
|
||||
def delete_game_cloud_save_file(self, path):
|
||||
url = f'https://{self._datastorage_host}/api/v1/data/egstore/{path}'
|
||||
r = self.session.delete(url)
|
||||
r.raise_for_status()
|
||||
|
|
Loading…
Reference in a new issue