deschutesdesigngroupllc / perscom-php-sdk Goto Github PK
View Code? Open in Web Editor NEWA PHP package that helps kickstart your next PERSCOM integration.
Home Page: https://perscom.io
License: MIT License
A PHP package that helps kickstart your next PERSCOM integration.
Home Page: https://perscom.io
License: MIT License
As the title suggests, some issues with the specialties and statuses search endpoints.
Add ability to supply a page and limit so pagination on search
endpoints is possible, the same way it is on the all
endpoints.
Add /v1/documents
resource to SDK
Before:
->search([
'filters' => [
[
'field' => 'expires_at',
'operator' => '>=',
'value' => (new \DateTime())->format(Perscom::DATE_FORMAT),
],
[
'type' => 'or',
'field' => 'expires_at',
'operator' => '=',
'value' => null,
],
],
Now:
->search(filter: [
new FilterObject('expires_at', '>=', (new DateTime())->format(Perscom::DATE_FORMAT)),
new FilterObject('expires_at', '=', null)
])
->json('data');
TypeError; value must be string
.
So if I change the value to 'null'
. I get API error:
Internal Server Error (500) Response: {"error":{"message":"SQLSTATE[HY000]: General error: 1525 Incorrect TIMESTAMP value: 'null' (Connection: tenant, SQL: select count(*) as aggregate from `announcements` where `announcements`.`expires_a....
Hey!
I like to occasionally look and find SDKs built with Saloon and see how people build them - I was looking through this one and thought it looked really good! Would you like me to add it Saloon's showcase section in the documentation?
Awesome work
API allows to use the include
query, but SDK doesn't have an option to pipe this through.
Using any search request throws error.
To reproduce install package in a new project:
composer init
composer require deschutesdesigngroupllc/perscom-php-sdk
Run the following code:
$user = $connection
->users()
->search(filter: [new FilterObject('email', 'like', '[email protected]')])
->json('data')[0] ?? null;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.