Skip to content

Commit

Permalink
API first version with balance service
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfredao committed Jan 3, 2023
1 parent 2a97970 commit 74e1927
Show file tree
Hide file tree
Showing 8 changed files with 1,358 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/vendor/
/.idea/
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# api-php
# SocialUP PHP API.

SocialUP PHP API
[![Latest Version](https://img.shields.io/github/release/social-up/api-php.svg?style=flat-square)](https://github.com/social-up/api-php/releases)
[![Total Downloads](https://img.shields.io/packagist/dt/social-up/api-php.svg?style=flat-square)](https://packagist.org/packages/social-up/api-php)

```php
$client = new \SocialUp\API\Client('YOUR_KEY');

$balance = $client->balance()->get();
```
22 changes: 22 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "social-up/api-php",
"description": "SocialUP API",
"type": "library",
"require": {
"guzzlehttp/guzzle": "^7.5"
},
"require-dev": {
"roave/security-advisories": "dev-latest"
},
"license": "MIT",
"autoload": {
"psr-4": {
"SocialUp\\API\\": "src/"
}
},
"authors": [
{
"name": "SocialUp"
}
]
}
Loading

0 comments on commit 74e1927

Please sign in to comment.