https://github.com/faulkj/boclient
Business Objects web services client
https://github.com/faulkj/boclient
business-objects client web-services
Last synced: 2 months ago
JSON representation
Business Objects web services client
- Host: GitHub
- URL: https://github.com/faulkj/boclient
- Owner: faulkj
- Created: 2021-09-08T03:51:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-14T03:58:27.000Z (over 2 years ago)
- Last Synced: 2025-02-05T15:22:40.368Z (4 months ago)
- Topics: business-objects, client, web-services
- Language: PHP
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# 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();
}
```