Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save wangerekaharun/64c0f6921fa9910d62bb68f1a1805188 to your computer and use it in GitHub Desktop.
Save wangerekaharun/64c0f6921fa9910d62bb68f1a1805188 to your computer and use it in GitHub Desktop.
Unsplash API Response
[
{
"id": "TxXuh_hAFd8",
"created_at": "2020-07-01T18:32:22-04:00",
"updated_at": "2020-08-14T01:07:39-04:00",
"promoted_at": null,
"width": 6016,
"height": 4016,
"color": "#101515",
"description": null,
"alt_description": "laptop on gray table",
"urls": {
"raw": "https://images.unsplash.com/photo-1593642702909-dec73df255d7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjE0ODcwNH0",
"full": "https://images.unsplash.com/photo-1593642702909-dec73df255d7?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0ODcwNH0",
"regular": "https://images.unsplash.com/photo-1593642702909-dec73df255d7?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjE0ODcwNH0",
"small": "https://images.unsplash.com/photo-1593642702909-dec73df255d7?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=400&fit=max&ixid=eyJhcHBfaWQiOjE0ODcwNH0",
"thumb": "https://images.unsplash.com/photo-1593642702909-dec73df255d7?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE0ODcwNH0"
},
"links": {
"self": "https://api.unsplash.com/photos/TxXuh_hAFd8",
"html": "https://unsplash.com/photos/TxXuh_hAFd8",
"download": "https://unsplash.com/photos/TxXuh_hAFd8/download",
"download_location": "https://api.unsplash.com/photos/TxXuh_hAFd8/download"
},
"categories": [],
"likes": 286,
"liked_by_user": false,
"current_user_collections": [],
"sponsorship": {
"impression_urls": [
"https://secure.insightexpressai.com/adServer/adServerESI.aspx?script=false&bannerID=7348949&rnd=[timestamp]&gdpr=&gdpr_consent=&redir=https://secure.insightexpressai.com/adserver/1pixel.gif",
"https://secure.insightexpressai.com/adServer/adServerESI.aspx?script=false&bannerID=7367766&rnd=[timestamp]&gdpr=&gdpr_consent=&redir=https://secure.insightexpressai.com/adserver/1pixel.gif"
],
"tagline": "Designed to be the Best",
"tagline_url": "http://www.dell.com/xps",
"sponsor": {
"id": "2DC3GyeqWjI",
"updated_at": "2020-08-14T07:19:50-04:00",
"username": "xps",
"name": "XPS",
"first_name": "XPS",
"last_name": null,
"twitter_username": "Dell",
"portfolio_url": "http://www.Dell.com/XPS",
"bio": "Designed to be the best, with cutting edge technologies, exceptional build quality, unique materials and powerful features.",
"location": null,
"links": {
"self": "https://api.unsplash.com/users/xps",
"html": "https://unsplash.com/@xps",
"photos": "https://api.unsplash.com/users/xps/photos",
"likes": "https://api.unsplash.com/users/xps/likes",
"portfolio": "https://api.unsplash.com/users/xps/portfolio",
"following": "https://api.unsplash.com/users/xps/following",
"followers": "https://api.unsplash.com/users/xps/followers"
},
"profile_image": {
"small": "https://images.unsplash.com/profile-1593436914961-40416e2f9c5dimage?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32",
"medium": "https://images.unsplash.com/profile-1593436914961-40416e2f9c5dimage?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=64&w=64",
"large": "https://images.unsplash.com/profile-1593436914961-40416e2f9c5dimage?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=128&w=128"
},
"instagram_username": "dell",
"total_collections": 0,
"total_likes": 0,
"total_photos": 26,
"accepted_tos": true
}
},
"user": {
"id": "2DC3GyeqWjI",
"updated_at": "2020-08-14T07:19:50-04:00",
"username": "xps",
"name": "XPS",
"first_name": "XPS",
"last_name": null,
"twitter_username": "Dell",
"portfolio_url": "http://www.Dell.com/XPS",
"bio": "Designed to be the best, with cutting edge technologies, exceptional build quality, unique materials and powerful features.",
"location": null,
"links": {
"self": "https://api.unsplash.com/users/xps",
"html": "https://unsplash.com/@xps",
"photos": "https://api.unsplash.com/users/xps/photos",
"likes": "https://api.unsplash.com/users/xps/likes",
"portfolio": "https://api.unsplash.com/users/xps/portfolio",
"following": "https://api.unsplash.com/users/xps/following",
"followers": "https://api.unsplash.com/users/xps/followers"
},
"profile_image": {
"small": "https://images.unsplash.com/profile-1593436914961-40416e2f9c5dimage?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32",
"medium": "https://images.unsplash.com/profile-1593436914961-40416e2f9c5dimage?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=64&w=64",
"large": "https://images.unsplash.com/profile-1593436914961-40416e2f9c5dimage?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=128&w=128"
},
"instagram_username": "dell",
"total_collections": 0,
"total_likes": 0,
"total_photos": 26,
"accepted_tos": true
}
},
{
"id": "3VCzV4XugsQ",
"created_at": "2020-08-13T14:51:30-04:00",
"updated_at": "2020-08-14T10:06:03-04:00",
"promoted_at": "2020-08-14T10:06:03-04:00",
"width": 3168,
"height": 4752,
"color": "#F0C59B",
"description": null,
"alt_description": null,
"urls": {
"raw": "https://images.unsplash.com/photo-1597344680957-1c2ea0d72431?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjE0ODcwNH0",
"full": "https://images.unsplash.com/photo-1597344680957-1c2ea0d72431?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0ODcwNH0",
"regular": "https://images.unsplash.com/photo-1597344680957-1c2ea0d72431?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjE0ODcwNH0",
"small": "https://images.unsplash.com/photo-1597344680957-1c2ea0d72431?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=400&fit=max&ixid=eyJhcHBfaWQiOjE0ODcwNH0",
"thumb": "https://images.unsplash.com/photo-1597344680957-1c2ea0d72431?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=200&fit=max&ixid=eyJhcHBfaWQiOjE0ODcwNH0"
},
"links": {
"self": "https://api.unsplash.com/photos/3VCzV4XugsQ",
"html": "https://unsplash.com/photos/3VCzV4XugsQ",
"download": "https://unsplash.com/photos/3VCzV4XugsQ/download",
"download_location": "https://api.unsplash.com/photos/3VCzV4XugsQ/download"
},
"categories": [],
"likes": 1,
"liked_by_user": false,
"current_user_collections": [],
"sponsorship": null,
"user": {
"id": "ft9GGZq2uQo",
"updated_at": "2020-08-14T10:06:04-04:00",
"username": "ronwhitaker",
"name": "Ron Whitaker",
"first_name": "Ron",
"last_name": "Whitaker",
"twitter_username": "RonWhitaker",
"portfolio_url": "http://RonWhitaker.ca",
"bio": "Amateur Photographer, retired computer programmer ",
"location": "Halifax",
"links": {
"self": "https://api.unsplash.com/users/ronwhitaker",
"html": "https://unsplash.com/@ronwhitaker",
"photos": "https://api.unsplash.com/users/ronwhitaker/photos",
"likes": "https://api.unsplash.com/users/ronwhitaker/likes",
"portfolio": "https://api.unsplash.com/users/ronwhitaker/portfolio",
"following": "https://api.unsplash.com/users/ronwhitaker/following",
"followers": "https://api.unsplash.com/users/ronwhitaker/followers"
},
"profile_image": {
"small": "https://images.unsplash.com/profile-1516808199285-d1d357f30cd4?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=32&w=32",
"medium": "https://images.unsplash.com/profile-1516808199285-d1d357f30cd4?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=64&w=64",
"large": "https://images.unsplash.com/profile-1516808199285-d1d357f30cd4?ixlib=rb-1.2.1&q=80&fm=jpg&crop=faces&cs=tinysrgb&fit=crop&h=128&w=128"
},
"instagram_username": "RonsonWhitaker",
"total_collections": 9,
"total_likes": 5,
"total_photos": 387,
"accepted_tos": true
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment