{"id":17160734,"url":"https://github.com/danielceinos/cooper","last_synced_at":"2025-04-13T13:31:54.581Z","repository":{"id":202236281,"uuid":"191895017","full_name":"danielceinos/Cooper","owner":"danielceinos","description":"Cool User agent interceptor for Okhttp3","archived":false,"fork":false,"pushed_at":"2020-04-15T10:09:17.000Z","size":152,"stargazers_count":35,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-27T05:01:44.574Z","etag":null,"topics":["agent","android","header","interceptor","kotlin","kotlin-android","kotlin-library","library","okhttp","okhttp3","user-agent"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielceinos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-06-14T07:17:21.000Z","updated_at":"2024-12-13T04:27:24.000Z","dependencies_parsed_at":"2024-04-07T21:45:25.315Z","dependency_job_id":null,"html_url":"https://github.com/danielceinos/Cooper","commit_stats":null,"previous_names":["danielceinos/cooper"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielceinos%2FCooper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielceinos%2FCooper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielceinos%2FCooper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielceinos%2FCooper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielceinos","download_url":"https://codeload.github.com/danielceinos/Cooper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248721147,"owners_count":21151052,"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":["agent","android","header","interceptor","kotlin","kotlin-android","kotlin-library","library","okhttp","okhttp3","user-agent"],"created_at":"2024-10-14T22:25:50.399Z","updated_at":"2025-04-13T13:31:49.573Z","avatar_url":"https://github.com/danielceinos.png","language":"Kotlin","readme":"Cooper, interceptor for [OkHttp3](https://github.com/square/okhttp) to add bran new shine User-Agent header\n--------\n\n[![](https://jitpack.io/v/danielceinos/User-Agent-Interceptor.svg)](https://jitpack.io/#danielceinos/User-Agent-Interceptor)\n\nThis interceptor adds a useful User Agent header value.\n\nFollowing this format:\n\n`User-Agent:Your awesome app name / 1.0.1(2830803); StandAloneInstall; (Google; Android SDK built for x86_64; SDK 28; Android 9)`\n\nAppName / VersionName(VersionCode); Installer package; (manufacturer; model; SDK version; Android version code)\n\n\nUsage\n--------\n\n```kotlin\nval client = OkHttpClient.Builder()\nclient.addInterceptor(CooperInterceptor(context))\n```\nInstall\n--------\n\nLast release:\n\n[![](https://jitpack.io/v/danielceinos/User-Agent-Interceptor.svg)](https://jitpack.io/#danielceinos/User-Agent-Interceptor)\n\n\nAdd it in your root build.gradle at the end of repositories:\n\n```groovy\nallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n```\n\nAdd the dependency\n\n```groovy\ndependencies {\n\t        implementation 'com.github.danielceinos:Cooper:X.Y.Z'\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielceinos%2Fcooper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielceinos%2Fcooper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielceinos%2Fcooper/lists"}