Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terminal42/cashctrl-api
API client for cashctrl.com
https://github.com/terminal42/cashctrl-api
Last synced: 23 days ago
JSON representation
API client for cashctrl.com
- Host: GitHub
- URL: https://github.com/terminal42/cashctrl-api
- Owner: terminal42
- License: mit
- Created: 2020-12-01T08:46:07.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-23T12:52:56.000Z (about 1 year ago)
- Last Synced: 2024-05-01T11:22:55.439Z (8 months ago)
- Language: PHP
- Size: 144 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# terminal42/cashctrl-api
An API client for the REST API of cashctrl.com.
This client is currently used for our own projects and is not stable at all.
It thus might be subject to heavy changes.
If you're interested in moving to a stable release (version 1.0.0) so you can be
sure there are no BC breaks until version 2.0.0 (semver), please feel free to
get in touch with us.## Installation
```bash
$ composer.phar require terminal42/cashctrl-api dev-main
```If you are using Symfony, we recommend to use our [CashCtrl Bundle](https://github.com/terminal42/cashctrl-bundle).
## Usage
```php
$subdomain = 'companyname';
$apiKey = 'foobar';$client = new Client($subdomain, $apiKey);
// Example call to get person list:
(new PersonEndpoint($client))->list();
```