{"id":14965576,"url":"https://github.com/fapi-cz/fapi-client","last_synced_at":"2025-08-07T23:29:11.917Z","repository":{"id":46034991,"uuid":"157612357","full_name":"fapi-cz/fapi-client","owner":"fapi-cz","description":"Fapi php client","archived":false,"fork":false,"pushed_at":"2024-11-13T14:57:59.000Z","size":496,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-31T07:05:17.783Z","etag":null,"topics":["fapi","fapi-client","http","http-client","nette","nette-extension","nette-framework","php"],"latest_commit_sha":null,"homepage":"https://web.fapi.cz/api-doc/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fapi-cz.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-14T21:19:08.000Z","updated_at":"2024-11-13T14:57:36.000Z","dependencies_parsed_at":"2024-01-13T23:24:11.574Z","dependency_job_id":"63b95bb5-0dbb-40c2-85d2-78eb23c58825","html_url":"https://github.com/fapi-cz/fapi-client","commit_stats":{"total_commits":58,"total_committers":2,"mean_commits":29.0,"dds":0.03448275862068961,"last_synced_commit":"3c77a221c21e5cd230f06af2c18e5dab5e97103a"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fapi-cz%2Ffapi-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fapi-cz%2Ffapi-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fapi-cz%2Ffapi-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fapi-cz%2Ffapi-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fapi-cz","download_url":"https://codeload.github.com/fapi-cz/fapi-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238137804,"owners_count":19422700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fapi","fapi-client","http","http-client","nette","nette-extension","nette-framework","php"],"created_at":"2024-09-24T13:34:56.321Z","updated_at":"2025-02-10T15:30:43.683Z","avatar_url":"https://github.com/fapi-cz.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![build](https://github.com/fapi-cz/fapi-client/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/fapi-cz/fapi-client/actions/workflows/main.yml)\n[![codecov](https://codecov.io/gh/fapi-cz/fapi-client/branch/master/graph/badge.svg)](https://codecov.io/gh/fapi-cz/fapi-client)\n[![Maintainability](https://api.codeclimate.com/v1/badges/f364fbba86383aaab443/maintainability)](https://codeclimate.com/github/fapi-cz/php-client/maintainability)\n\n# fapi-cz/fapi-client\nLibrary for accessing FAPI API.\n\n## Requirements\nLibrary fapi-cz/fapi-client requires PHP 7.1 or higher and [fapi-cz/http-client](https://github.com/fapi-cz/http-client).\n\n## Installation\nThe best way to install fapi-cz/fapi-client is using [Composer](http://getcomposer.org/).\n\nRun command `composer require fapi-cz/fapi-client`.\n\n## How to run tests\nRun command `vendor/bin/tester -C tests`.\n\n## How to create client\n```php\n$clientFactory = new \\Fapi\\FapiClientFapiClientFactory('https://api.fapi.cz', new \\Fapi\\HttpClient\\GuzzleHttpClient());\n$fapiClient = $clientFactory-\u003ecreateFapiClient('Username', 'password');\n```\n\nYou can also use `\\Fapi\\HttpClient\\GuzzleHttpClient` instead of `\\Fapi\\HttpClient\\CurlHttpClient`.\n\n## Nette DI\n```yaml\nextensions:\n\thttpClient: Fapi\\HttpClient\\Bridges\\NetteDI\\HttpClientExtension\n\tfapiClient: Fapi\\FapiClient\\DI\\FapiClientExtension\n\t\nhttpClient:\n\ttype: 'guzzle' #default curl\n\tlogging: true #default false\n\tbar: true #default false\n\nfapiClient:\n\tusername: fapi\n\tpassword: fapi\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffapi-cz%2Ffapi-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffapi-cz%2Ffapi-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffapi-cz%2Ffapi-client/lists"}