Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zoilomora/ocean-smart-client
This library helps to communicate with OceanSmart software.
https://github.com/zoilomora/ocean-smart-client
client ocean smart
Last synced: 3 months ago
JSON representation
This library helps to communicate with OceanSmart software.
- Host: GitHub
- URL: https://github.com/zoilomora/ocean-smart-client
- Owner: zoilomora
- Created: 2019-07-03T20:42:19.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-07-11T14:01:14.000Z (7 months ago)
- Last Synced: 2024-08-15T05:48:53.981Z (6 months ago)
- Topics: client, ocean, smart
- Language: PHP
- Homepage: https://packagist.org/packages/zoilomora/ocean-smart-client
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ocean Smart Client
This library helps to communicate with **OceanSmart** software.Tested with **[Ocean Smart 1.4.0603.1](https://oceansoftware.es/)**.
## Usage
To facilitate the use with several users, a factory is included to start the session.Below is an example of use:
```php
BASE_URI,
// ... specific user settings
]
)
);$client = $factory->build(USER, PASSWORD);
$markings = $client->markings(
new DateTime('2019-06-01'), // from
new DateTime('2019-07-01') // to
);
```## Notes
For now, raw array of API responses are returned, they are not transformed into mapped objects.