mirror of
https://github.com/SociallyDev/Spaces-API.git
synced 2025-07-14 09:03:02 -07:00
Update README.md
This commit is contained in:
parent
2a2c644bbd
commit
c85ba77749
1 changed files with 15 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue