Skip to content

Commit

Permalink
Version 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
faulkj committed Dec 10, 2022
1 parent ac4a1bc commit f5e4742
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 19 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# BOClient Changelog

[?] Version 2.1
***2022-12-09*** Version 2.1
- Updated namespacing

[2021-09-09] Version 2.0
***2021-09-09*** Version 2.0
- Initial public release
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,28 @@
# BOClient
Business Objects web services client


```
$bo = new BOClient(
new WebClient("https://my.host.com"),
"username",
"password"
);
if($this->bo->authenticate()) {
$list = [];
if($lst = $bo->query("raylight/v1/universes", [
"qs" => "limit=$limit&offset=$offset"
])) {
$t = simplexml_load_string($lst);
foreach ($t->universe as $u) {
$uid = (int) $u->id;
echo $uid;
}
}
$bo->logoff();
}
```
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
"php" : ">=7.0",
"faulkj/webclient" : "1.1.*"
},
"require-dev" : {
"phpunit/phpunit" : "9.*"
},
"autoload" : {
"classmap": [
"src/"
Expand Down
13 changes: 0 additions & 13 deletions phpunit.xml

This file was deleted.

2 changes: 1 addition & 1 deletion src/BOClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
* Client Class for Business Objects web services v2.1
*
* Kopimi 2022 Joshua Faulkenberry
* Kopimi 2023 Joshua Faulkenberry
* Unlicensed under The Unlicense
* http://unlicense.org/
*/
Expand Down

0 comments on commit f5e4742

Please sign in to comment.