Skip to content

Commit d0fe254

Browse files
committed
Update php SDK from OpenAPI spec
1 parent 4fac7f6 commit d0fe254

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

README.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# OpenAPIClient-php
1+
# WhatPulse PHP SDK
22

33
Public API for WhatPulse user data access. This API allows authenticated users to access their own data and public data from other users, depending on privacy settings.
44

5-
65
## Installation & Usage
76

87
### Requirements
@@ -17,15 +16,6 @@ To install the bindings via [Composer](https://getcomposer.org/), run:
1716
composer require whatpulse/sdk-php
1817
```
1918

20-
### Manual Installation
21-
22-
Download the files and include `autoload.php`:
23-
24-
```php
25-
<?php
26-
require_once('/path/to/OpenAPIClient-php/vendor/autoload.php');
27-
```
28-
2919
## Getting Started
3020

3121
Please follow the [installation procedure](#installation--usage) and then run the following:
@@ -34,12 +24,9 @@ Please follow the [installation procedure](#installation--usage) and then run th
3424
<?php
3525
require_once(__DIR__ . '/vendor/autoload.php');
3626

37-
38-
3927
// Configure Bearer authorization: http
4028
$config = WhatPulse\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
4129

42-
4330
$apiInstance = new WhatPulse\Api\ComputersApi(
4431
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
4532
// This is optional, `GuzzleHttp\Client` will be used as default.
@@ -144,8 +131,6 @@ vendor/bin/phpunit
144131

145132
## Author
146133

147-
148-
149134
## About this package
150135

151136
This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"rest",
1111
"api"
1212
],
13-
"homepage": "https://openapi-generator.tech",
14-
"license": "unlicense",
13+
"homepage": "https://github.com/whatpulse/sdk-php",
14+
"license": "MIT",
1515
"authors": [
1616
{
1717
"name": "WhatPulse",

0 commit comments

Comments
 (0)