protected
Showing
8 changed files
with
11 additions
and
15 deletions
| 1 | Copyright (c) 2019 fehrlich | 1 | Copyright (c) 2022 ut_devops |
| 2 | 2 | ||
| 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: |
| 4 | 4 | ... | ... |
| ... | @@ -4,7 +4,7 @@ An example implementation for the immoscout24 rest api in php. This Client is no | ... | @@ -4,7 +4,7 @@ An example implementation for the immoscout24 rest api in php. This Client is no |
| 4 | 4 | ||
| 5 | ## install | 5 | ## install |
| 6 | 6 | ||
| 7 | `composer install fehrlich/immoscout24-api-php` | 7 | `composer install ut-devops/immoscout24-api-php` |
| 8 | 8 | ||
| 9 | 9 | ||
| 10 | ## usage | 10 | ## usage |
| ... | @@ -14,7 +14,7 @@ The libary contains an abstract class that needs to be extended by an user defin | ... | @@ -14,7 +14,7 @@ The libary contains an abstract class that needs to be extended by an user defin |
| 14 | ### example implementation | 14 | ### example implementation |
| 15 | 15 | ||
| 16 | ``` | 16 | ``` |
| 17 | class MyAPI extends \fehrlich\ScoutAPI\ImmoScoutAPI | 17 | class MyAPI extends \ut_devops\ScoutAPI\ImmoScoutAPI |
| 18 | { | 18 | { |
| 19 | /** | 19 | /** |
| 20 | * should save the request token with tokenname + secret, the token can be temporarily saved within a session | 20 | * should save the request token with tokenname + secret, the token can be temporarily saved within a session | ... | ... |
| ... | @@ -4,10 +4,6 @@ | ... | @@ -4,10 +4,6 @@ |
| 4 | "type": "library", | 4 | "type": "library", |
| 5 | "authors": [ | 5 | "authors": [ |
| 6 | { | 6 | { |
| 7 | "name": "fehrlich", | ||
| 8 | "email": "franz.ehrlich@googlemail.com" | ||
| 9 | }, | ||
| 10 | { | ||
| 11 | "name": "ut-devops", | 7 | "name": "ut-devops", |
| 12 | "email": "devops@ut.in.ua" | 8 | "email": "devops@ut.in.ua" |
| 13 | } | 9 | } | ... | ... |
| 1 | <?php | 1 | <?php |
| 2 | 2 | ||
| 3 | namespace fehrlich\ImmoScoutAPI; | 3 | namespace ut_devops\ImmoScoutAPI; |
| 4 | 4 | ||
| 5 | use fehrlich\ImmoScoutAPI\exceptions\AuthException; | 5 | use ut_devops\ImmoScoutAPI\exceptions\AuthException; |
| 6 | use fehrlich\ImmoScoutAPI\exceptions\InvalidResponse; | 6 | use ut_devops\ImmoScoutAPI\exceptions\InvalidResponse; |
| 7 | use fehrlich\ImmoScoutAPI\exceptions\InvalidTokenException; | 7 | use ut_devops\ImmoScoutAPI\exceptions\InvalidTokenException; |
| 8 | use function GuzzleHttp\json_decode; | 8 | use function GuzzleHttp\json_decode; |
| 9 | use function GuzzleHttp\json_encode; | 9 | use function GuzzleHttp\json_encode; |
| 10 | use GuzzleHttp\Client; | 10 | use GuzzleHttp\Client; | ... | ... |
| 1 | <?php | 1 | <?php |
| 2 | 2 | ||
| 3 | use fehrlich\ImmoScoutAPI\ImmoScoutAPI; | 3 | use ut_devops\ImmoScoutAPI\ImmoScoutAPI; |
| 4 | use GuzzleHttp\Client; | 4 | use GuzzleHttp\Client; |
| 5 | use GuzzleHttp\Exception\RequestException; | 5 | use GuzzleHttp\Exception\RequestException; |
| 6 | use GuzzleHttp\HandlerStack; | 6 | use GuzzleHttp\HandlerStack; | ... | ... |
-
Please register or sign in to post a comment