{"id":22426394,"url":"https://github.com/robertfausk/kurzlink-api-client","last_synced_at":"2025-03-27T06:17:58.790Z","repository":{"id":62536480,"uuid":"319758548","full_name":"robertfausk/kurzlink-api-client","owner":"robertfausk","description":null,"archived":false,"fork":false,"pushed_at":"2020-12-09T11:12:40.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T11:26:01.721Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/robertfausk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-08T20:54:26.000Z","updated_at":"2020-12-16T19:26:54.000Z","dependencies_parsed_at":"2022-11-02T15:15:52.074Z","dependency_job_id":null,"html_url":"https://github.com/robertfausk/kurzlink-api-client","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertfausk%2Fkurzlink-api-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertfausk%2Fkurzlink-api-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertfausk%2Fkurzlink-api-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertfausk%2Fkurzlink-api-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertfausk","download_url":"https://codeload.github.com/robertfausk/kurzlink-api-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245791956,"owners_count":20672671,"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":[],"created_at":"2024-12-05T19:18:13.599Z","updated_at":"2025-03-27T06:17:58.767Z","avatar_url":"https://github.com/robertfausk.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KurzlinkApiClient\n[![Latest Stable Version](https://poser.pugx.org/robertfausk/kurzlink-api-client/v/stable.svg)](https://packagist.org/packages/robertfausk/kurzlink-api-client)\n[![Latest Unstable Version](https://poser.pugx.org/robertfausk/kurzlink-api-client/v/unstable.svg)](https://packagist.org/packages/robertfausk/kurzlink-api-client)\n[![Total Downloads](https://poser.pugx.org/robertfausk/kurzlink-api-client/downloads.svg)](https://packagist.org/packages/robertfausk/kurzlink-api-client)\n[![Build Status](https://travis-ci.com/robertfausk/kurzlink-api-client.svg?branch=master)](https://travis-ci.com/robertfausk/kurzlink-api-client)\n[![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/robertfausk/kurzlink-api-client/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/robertfausk/kurzlink-api-client/)\n[![Code Coverage](https://scrutinizer-ci.com/g/robertfausk/kurzlink-api-client/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/robertfausk/kurzlink-api-client/)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)\n![PHP7 Compatible](https://img.shields.io/travis/php-v/robertfausk/kurzlink-api-client/master?style=flat-square)\n[![Open Issues](https://img.shields.io/github/issues-raw/robertfausk/kurzlink-api-client?style=flat-square)](https://github.com/robertfausk/kurzlink-api-client/issues)\n[![Closed Issues](https://img.shields.io/github/issues-closed-raw/robertfausk/kurzlink-api-client?style=flat-square)](https://github.com/robertfausk/kurzlink-api-client/issues?q=is%3Aissue+is%3Aclosed)\n[![Contributors](https://img.shields.io/github/contributors/robertfausk/kurzlink-api-client?style=flat-square)](https://github.com/robertfausk/kurzlink-api-client/graphs/contributors)\n![Contributors](https://img.shields.io/maintenance/yes/2020?style=flat-square)\n\nVery simple api client written in PHP for url shortener kurzelinks.de which supports ogy.de, t1p.de,\n0cn.de, kurzelinks.de and also own domains. \n\n## Install\n\n    composer require --dev robertfausk/kurzlink-api-client\n\nUsage Example\n-------------\n\n```PHP\n\u003c?php\n\nuse Robertfausk\\KurzlinkApiClient\\KurzlinkClient;\n\n$apiKey = 'your secret api key';\n$kurzlinkAddress = 't1p.de';\n$useSandbox = true;\n$client = KurzlinkClient::create($apiKey, $kurzlinkAddress, $useSandbox);\n$urlToShorten = 'https://google.de/';\n$requestParams = [  // feel free to use every param from api doc\n    'requesturl' =\u003e '',\n];\n$shortUrl = $client-\u003erequest($urlToShorten, $requestParams);\n```\n\n### How to upgrade?\n\n Have a look at [CHANGELOG](CHANGELOG.md) for detailed information.\n\n## How to contribute?\n\nCopy phpunit.xml.dist and insert your api key to be able to run the integration tests.\n\nStart docker-compose with php web driver\n\n    docker-compose up php7.2\n\nRun phpunit tests\n\n    docker-compose exec php7.2 vendor/bin/phpunit\n\n\n## Credits\n\nCreated by Robert Freigang [robertfausk](https://github.com/robertfausk).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertfausk%2Fkurzlink-api-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertfausk%2Fkurzlink-api-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertfausk%2Fkurzlink-api-client/lists"}