Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/azawawi/raku-odoo-client
A simple Odoo client using JSON RPC
https://github.com/azawawi/raku-odoo-client
odoo raku
Last synced: 15 days ago
JSON representation
A simple Odoo client using JSON RPC
- Host: GitHub
- URL: https://github.com/azawawi/raku-odoo-client
- Owner: azawawi
- License: mit
- Created: 2017-01-16T12:28:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-09-24T23:56:04.000Z (over 2 years ago)
- Last Synced: 2024-11-19T17:57:02.828Z (3 months ago)
- Topics: odoo, raku
- Language: Raku
- Homepage:
- Size: 34.2 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Odoo::Client
[![Actions
Status](https://github.com/azawawi/raku-odoo-client/workflows/test/badge.svg)](https://github.com/azawawi/raku-odoo-client/actions)A simple Odoo ERP client that uses JSON RPC.
## Example
```Raku
use v6;
use Odoo::Client;my $odoo = Odoo::Client.new(
hostname => "localhost",
port => 8069
);my $uid = $odoo.login(
database => "",
username => '',
password => ""
);
printf("Logged on with user id '%d'\n", $uid);
```For more examples, please see the [examples](examples) folder.
## Installation
To install it using zef (a module management tool bundled with Rakudo Star):
```
$ zef install Odoo::Client
```## Testing
- To run tests:
```
$ prove --ext .rakutest -ve "raku -I."
```- To run all tests including author tests (Please make sure
[Test::Meta](https://github.com/jonathanstowe/Test-META) is installed):
```
$ zef install Test::META
$ AUTHOR_TESTING=1 prove --ext .rakutest -ve "raku -I."
```## See Also
- [JSON::RPC](https://github.com/bbkr/jsonrpc)
- [Odoo ERP](http://odoo.com)
- [JSON-RPC Library](https://www.odoo.com/documentation/10.0/howtos/backend.html#json-rpc-library)## Author
Ahmad M. Zawawi, [azawawi](https://github.com/azawawi/) on #raku
## License
MIT License