mirror of
https://github.com/SociallyDev/Spaces-API.git
synced 2025-03-12 05:35:22 -07:00
Update README.md
This commit is contained in:
parent
2a2c644bbd
commit
c85ba77749
15
README.md
15
README.md
@ -1,2 +1,17 @@
|
|||||||
# 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:
|
||||||
|
```php
|
||||||
|
require_once("spaces.php");
|
||||||
|
|
||||||
|
$key = "EXAMPLE_KEY";
|
||||||
|
$secret = "EXAMPLE_SECRET";
|
||||||
|
|
||||||
|
$space = new SpacesConnect($key, $secret);
|
||||||
|
```
|
||||||
|
|
||||||
|
All available configurations: <br>
|
||||||
|
###### SpacesConnect( REQUIRED KEY, REQUIRED SECRET, OPTIONAL SPACE's NAME, OPTIONAL REGION, OPTION HOST DOMAIN );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user