Skip to content

Commit

Permalink
Merge pull request #12 from mstruebing/removeGoogl
Browse files Browse the repository at this point in the history
Remove goo.gl service
  • Loading branch information
peter279k committed Oct 8, 2018
2 parents 07659b6 + 2d2a6a2 commit e7352fd
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 86 deletions.
13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ It's based on [Guzzle](https://github.com/guzzle/guzzle),HTTP client.
| [Imgur](http://imgur.com/) | Yes | uploading images service |
| [Imageshack](https://www.imageshack.us) | Yes | uploading images service |
| [bit.ly](https://bitly.com/) | Yes | shorten url service |
| [goo.gl](https://goo.gl/) | Yes | shorten url service |
|[McAf.ee](https://community.mcafee.com/docs/DOC-1991)| Yes | shorten url service |

## Usage
Expand Down Expand Up @@ -128,18 +127,6 @@ It's based on [Guzzle](https://github.com/guzzle/guzzle),HTTP client.
//return json format (McAf standard api response via cURL)
var_dump($bundle->sendReq());
```
Google shorten url service: a shorten url service
```php
require 'vendor/autoload.php';
$config = [
'service-name' => 'Google',
'apiKey' => 'your-api-key',
'longUrl' => 'your-long-url'
];
$bundle = new \peter\components\serviceBundle\ServiceBundle($config);
//return json format (goo.gl standard api response via cURL)
var_dump($bundle->sendReq());
```
Bitly: a shorten url service
```php
require 'vendor/autoload.php';
Expand Down
13 changes: 0 additions & 13 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ It's based on [Guzzle](https://github.com/guzzle/guzzle),HTTP client.
| [Imgur](http://imgur.com/) | Yes | uploading images service |
| [Imageshack](https://www.imageshack.us) | Yes | uploading images service |
| [bit.ly](https://bitly.com/) | Yes | shorten url service |
| [goo.gl](https://goo.gl/) | Yes | shorten url service |
|[McAf.ee](https://community.mcafee.com/docs/DOC-1991)| Yes | shorten url service |

## Usage
Expand Down Expand Up @@ -93,18 +92,6 @@ It's based on [Guzzle](https://github.com/guzzle/guzzle),HTTP client.
//return json format (McAf standard api response via cURL)
var_dump($bundle->sendReq());
```
Google shorten url service: a shorten url service
```php
require 'vendor/autoload.php';
$config = [
'service-name' => 'Google',
'apiKey' => 'your-api-key',
'longUrl' => 'your-long-url'
];
$bundle = new \peter\components\serviceBundle\ServiceBundle($config);
//return json format (goo.gl standard api response via cURL)
var_dump($bundle->sendReq());
```
Bitly: a shorten url service
```php
require 'vendor/autoload.php';
Expand Down
26 changes: 0 additions & 26 deletions src/serviceBundle/Services/Google.php

This file was deleted.

34 changes: 0 additions & 34 deletions tests/serviceBundle/GoogleTest.php

This file was deleted.

0 comments on commit e7352fd

Please sign in to comment.