There is a difference in the internal and remote api.
The internal api has find_system to retrieve a single or multiple items with an optional filter.
The remote api has a dedicated get_system to retrieve a single item
Can this be changed to:
Api.find_systems(matchtype,**kvargs) returns a list Api.get_system(name) returns a item Api.get_systems returns a list
Remote.find_systems(matchtype,page,results_per_page,**kvargs) returns a list Remote.get_system(name) returns a item Remote.get_systems() returns a list
This makes it more consistent and transparent. The remote functions will become simple wrappers. Eventually the paginate function can also be merged into the Api instead of Remote.
Thoughts?
Regards, Peter
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.