{"id":21711698,"url":"https://github.com/sanjaydevtech/pexels-android","last_synced_at":"2025-09-12T06:47:18.731Z","repository":{"id":43861739,"uuid":"452577381","full_name":"SanjayDevTech/pexels-android","owner":"SanjayDevTech","description":"Unofficial Pexels Android SDK","archived":false,"fork":false,"pushed_at":"2023-10-29T13:43:30.000Z","size":852,"stargazers_count":3,"open_issues_count":3,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-13T03:07:25.485Z","etag":null,"topics":["android","collaborate","hacktoberfest","kotlin","pexels-api","student-vscode"],"latest_commit_sha":null,"homepage":"https://sanjaydevtech.github.io/pexels-android/","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SanjayDevTech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2022-01-27T07:10:15.000Z","updated_at":"2024-05-16T15:18:42.000Z","dependencies_parsed_at":"2024-11-26T00:15:37.485Z","dependency_job_id":null,"html_url":"https://github.com/SanjayDevTech/pexels-android","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanjayDevTech%2Fpexels-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanjayDevTech%2Fpexels-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanjayDevTech%2Fpexels-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanjayDevTech%2Fpexels-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SanjayDevTech","download_url":"https://codeload.github.com/SanjayDevTech/pexels-android/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253863157,"owners_count":21975595,"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":["android","collaborate","hacktoberfest","kotlin","pexels-api","student-vscode"],"created_at":"2024-11-25T23:29:06.726Z","updated_at":"2025-05-13T03:07:31.267Z","avatar_url":"https://github.com/SanjayDevTech.png","language":"Kotlin","readme":"# Pexels Android Library\n\n[![Pexels Android Library](docs/images/header.png)](docs/images/header.png)\n\nPexels Android Library is a wrapper library for Pexels REST API. It handles all the network transactions and provides the data. It uses the popular Android Network client [Retrofit](https://square.github.io/retrofit/).\n\nThis project started as a helper utils for my own projects. But then I decided to expand further to make it as a library.\nThere are many community libraries for other frameworks and languages, but a few for Android and JVM languages.\n\nIt uses Coroutines as its main weapon, but it also has support for Java devs too (by callback).\n\n\u003cdetails\u003e\n\u003csummary\u003eKotlin\u003c/summary\u003e\n\n``` kotlin\ncoroutineScope.launch {\n    try {\n        val response = pexelsClient.searchForPhotos(\"duck\")\n    } catch (e: Exception) {\n\n    }\n}\n```\n\u003c/details\u003e\n\u003cdetails\u003e\n\u003csummary\u003eJava\u003c/summary\u003e\n\n``` java\npexelsClient.searchForPhotosCallback(\"duck\")\n    .setOnSuccessListener(response -\u003e {\n\n    })\n    .setOnFailureListener(e -\u003e {\n\n    });\n```\nFor every operation involves coroutines, suspend functions, there will be equivalent *Callback methods to support Java callers.\n\n\u003c/details\u003e\n\n## Internal Dependencies\n- [Pexels](https://www.pexels.com/)\n- [Retrofit](https://square.github.io/retrofit/)\n\n## Features\n- List of Curated Photos\n- Search Photos by query string\n- List of Popular Videos\n- Search Videos by query string\n\n## Future\n- Paging3 module (in-progress)\n\n## License\n```\nCopyright 2022, Sanjay S\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this work except in compliance with the License.\nYou may obtain a copy of the License in the LICENSE file, or at:\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions\nand limitations under the License.\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanjaydevtech%2Fpexels-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanjaydevtech%2Fpexels-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanjaydevtech%2Fpexels-android/lists"}