mirror of
https://github.com/SociallyDev/Spaces-API.git
synced 2025-07-15 09:33:02 -07:00
Update README.md
This commit is contained in:
parent
7e442bf1e7
commit
3a7a77693a
1 changed files with 10 additions and 7 deletions
17
README.md
17
README.md
|
@ -1,8 +1,6 @@
|
||||||
# Spaces-API
|
# Spaces-API
|
||||||
An API wrapper for DigitalOcean's Spaces object storage designed for easy use.
|
An API wrapper for DigitalOcean's Spaces object storage designed for easy use.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Connecting
|
### Connecting
|
||||||
```php
|
```php
|
||||||
require_once("spaces.php");
|
require_once("spaces.php");
|
||||||
|
@ -20,7 +18,7 @@ All available options:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Uploading/Downloading Files
|
### Uploading/Downloading Files
|
||||||
|
@ -44,7 +42,7 @@ All available options:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Creating Temporary Links
|
### Creating Temporary Links
|
||||||
|
@ -58,7 +56,8 @@ All available options:
|
||||||
###### CreateTemporaryURL( REQUIRED FILE NAME, OPTIONAL TIME LINK IS VALID FOR);
|
###### CreateTemporaryURL( REQUIRED FILE NAME, OPTIONAL TIME LINK IS VALID FOR);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Other File APIs
|
### Other File APIs
|
||||||
```php
|
```php
|
||||||
|
@ -95,7 +94,9 @@ $space->PutObjectACL($file_name, $acl_info_array);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Creating Spaces
|
### Creating Spaces
|
||||||
|
@ -108,6 +109,7 @@ All available options:
|
||||||
###### createSpace( REQUIRED SPACE NAME, OPTIONAL REGION FOR SPACE);
|
###### createSpace( REQUIRED SPACE NAME, OPTIONAL REGION FOR SPACE);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Switching Spaces
|
### Switching Spaces
|
||||||
```php
|
```php
|
||||||
|
@ -119,7 +121,8 @@ All available options:
|
||||||
###### setSpace( REQUIRED SPACE NAME, OPTIONAL REGION FOR SPACE, OPTIONAL HOST);
|
###### setSpace( REQUIRED SPACE NAME, OPTIONAL REGION FOR SPACE, OPTIONAL HOST);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Other Spaces APIs
|
### Other Spaces APIs
|
||||||
```php
|
```php
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue