{"repo":"DrTeamRocks/uon","free":true,"listed":false,"github":"https://github.com/DrTeamRocks/uon","clone":"git clone https://github.com/DrTeamRocks/uon.git","description":"PHP client for the U-On Travel CRM REST API (Guzzle-based, PHP 7.4-8.5)","language":"PHP","stars":11,"topics":["rest-api","u-on","restful","uon","uon-travel-api","api-client","crm","guzzle","php","php-library"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"U-On Travel API Client (unofficial) A simple client that allows to work with API of U-On Travel company. This library is ready for production usage, all source codes provided \"as is\". Requirements PHP = 7.4 (tested on 7.4, 8.0, 8.1, 8.2, 8.3, 8.4 and 8.5) ext-curl, ext-json guzzlehttp/guzzle ^7.4 How to use Basic example See other examples of usage here separated by class names. All available methods of all classes with descriptions you can find here. How to configure the client Object of Config should be added as parameter of client: But you also can use array of parameters: If you want to create Client object with default parameters: Available parameters of configuration Parameter Type Default Description ----------------- ---------- ------------------------ ------------- token string (required) Token for work with the system format string json Response format, json or xml timeout int 20 Seconds to wait for the server answer tries int 2 Count of tries if server answers with 429 error code seconds int 10 Seconds to wait between tries base uri string https://api.u-on.ru Base URL of the API user agent string U-On PHP Client v2.x User-Agent header sent with each request proxy string (none) Proxy URL passed to Guzzle handler callable (none) Custom Guzzle handler, mainly for testing track redirects bool false Track redirects via Guzzle debug bool false Enable Guzzle debug output verbose bool false Dump each request endpoint and its parameters verify bool (Guzzle default) SSL veri","default_branch":null,"files":null,"tree":[],"storefront":"/r/DrTeamRocks","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DrTeamRocks/uon/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}