{"id":21521578,"url":"https://github.com/zzarcon/unsplash-client","last_synced_at":"2025-03-17T17:20:58.208Z","repository":{"id":34078989,"uuid":"169062127","full_name":"zzarcon/unsplash-client","owner":"zzarcon","description":"lightweight, opinionated, type safe, dependency free Unsplash client ","archived":false,"fork":false,"pushed_at":"2022-12-10T03:37:03.000Z","size":2392,"stargazers_count":1,"open_issues_count":25,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T09:46:42.379Z","etag":null,"topics":["api","client","free","photos","typescript","unsplash","unsplash-api","unsplash-client"],"latest_commit_sha":null,"homepage":"https://zzarcon.github.io/unsplash-client","language":"TypeScript","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/zzarcon.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}},"created_at":"2019-02-04T10:31:29.000Z","updated_at":"2023-03-04T06:26:00.000Z","dependencies_parsed_at":"2023-01-15T04:30:45.260Z","dependency_job_id":null,"html_url":"https://github.com/zzarcon/unsplash-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzarcon%2Funsplash-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzarcon%2Funsplash-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzarcon%2Funsplash-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzarcon%2Funsplash-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zzarcon","download_url":"https://codeload.github.com/zzarcon/unsplash-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244075622,"owners_count":20393980,"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":["api","client","free","photos","typescript","unsplash","unsplash-api","unsplash-client"],"created_at":"2024-11-24T01:07:37.789Z","updated_at":"2025-03-17T17:20:58.184Z","avatar_url":"https://github.com/zzarcon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unsplash-client\n\u003e lightweight, opinionated, dependency free Unsplash client \n\n### Features\n\n* Bundle size: [0.5kB](https://bundlephobia.com/result?p=unsplash-client) vs [6kB unsplash-js ](https://bundlephobia.com/result?p=unsplash-js)\n* Type safe\n\n### Installation\n\n```\n$ yarn add unsplash-client\n```\n\n### Usage\n\n```javascript\nimport Unsplash from 'unsplash-client'\n\nconst accessKey = 'YOUR-ACCESS-KEY';\nconst client = new Unsplash(accessKey);\nconst photos = await client.search('skateboarding');\n\nphotos.forEach(photo =\u003e {\n  console.log(photo.id, photo.urls.full, photo.urls.small)\n})\n```\n\n### Methods\n\n* **search**: \n\nSo far those are the methods the library supports as I don't have a use case for other ones. Please let me know if you need access to other methods, and we might add them :)\n\n### Author\n\n[@zzarcon](https://twitter.com/zzarcon)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzzarcon%2Funsplash-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzzarcon%2Funsplash-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzzarcon%2Funsplash-client/lists"}