1
0
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:
Devang Srivastava 2017-12-07 21:42:38 +05:30 committed by GitHub
parent 2a2c644bbd
commit c85ba77749
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,2 +1,17 @@
# Spaces-API
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 );