Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Refactor StockSnap to use ProviderDataIngester (#601)
rwidomcc7322b8916e
diff --git a/openverse_catalog/dags/providers/provider_api_scripts/stocksnap.py b/openverse_catalog/dags/providers/provider_api_scripts/stocksnap.pyindex 9dc62ca49..3f9e00cd7 100644--- a/openverse_catalog/dags/providers/provider_api_scripts/stocksnap.py+++ b/openverse_catalog/dags/providers/provider_api_scripts/stocksnap.py@@ -3,20 +3,20 @@ Content Provider: StockSnapETL Process: Use the API to identify all CC-licensed images.-Output: TSV file containing the image, the respective- meta-data.+Output: TSV file containing the image, the respective meta-data.-Notes: https://stocksnap.io/api/- No rate limit specified. No authentication required.+Notes: https://stocksnap.io/api/load-photos/date/desc/1+ https://stocksnap.io/faqAll images are licensed under CC0.+ No rate limits or authorization required.+ API is undocumented."""import jsonimport loggingfrom common.licenses import get_license_infofrom common.loader import provider_details as prov-from common.requester import DelayedRequester-from common.storage.image import ImageStore+from providers.provider_api_scripts.provider_data_ingester import ProviderDataIngesterlogging.basicConfig(@@ -25,178 +25,163 @@ logging.basicConfig()logger = logging.getLogger(__name__)-DELAY = 1 # in seconds-RETRIES = 3HOST = "stocksnap.io"-ENDPOINT = f"https://{HOST}/api/load-photos/date/desc"+ENDPOINT_BASE = f"https://{HOST}/api/load-photos/date/desc"IMAGE_CDN = "https://cdn.stocksnap.io/img-thumbs/960w"PROVIDER = prov.STOCKSNAP_DEFAULT_PROVIDER-HEADERS = {- "Accept": "application/json",-}-delayed_requester = DelayedRequester(DELAY)-image_store = ImageStore(provider=PROVIDER)-license_url = "https://creativecommons.org/publicdomain/zero/1.0/"-license_info = get_license_info(license_url=license_url)+class StockSnapDataIngester(ProviderDataIngester):+ providers = {"image": prov.STOCKSNAP_DEFAULT_PROVIDER}+ batch_limit = 1000+ delay = 1 # in seconds+ headers = {+ "Accept": "application/json",+ }+ license_url = "https://creativecommons.org/publicdomain/zero/1.0/"+ license_info = get_license_info(license_url=license_url)+ def __init__(self):+ super(StockSnapDataIngester, self).__init__()+ self._page_counter = 0-def main():- """- This script pulls all the data from the StockSnap and writes it into a- .TSV file to be eventually read into our DB.- """-- logger.info("Begin: StockSnap script")- image_count = _get_items()- image_store.commit()- logger.info(f"Total images pulled: {image_count}")- logger.info("Terminated!")---def _get_items():- item_count = 0- page_number = 1- should_continue = True- while should_continue:- page_endpoint = f"{ENDPOINT}/{page_number}"- batch_data = _get_batch_json(endpoint=page_endpoint)- if isinstance(batch_data, list) and len(batch_data) > 0:- item_count = _process_item_batch(batch_data)- page_number += 1- else:- should_continue = False- return item_count---def _get_batch_json(- endpoint=ENDPOINT, headers=None, retries=RETRIES, query_params=None-):- if headers is None:- headers = HEADERS.copy()- response_json = delayed_requester.get_response_json(- endpoint, retries, query_params, headers=headers- )- if response_json is None:- return None- else:- data = response_json.get("results")- return data---def _process_item_batch(items_batch):- for item in items_batch:- item_meta_data = _extract_item_data(item)- if item_meta_data is None:- continue- image_store.add_item(**item_meta_data)- return image_store.total_items---def _extract_item_data(media_data):- """- Extract data for individual image.- """- try:- foreign_id = media_data["img_id"]- except (TypeError, KeyError, AttributeError):+ def get_next_query_params(self, old_query_params, **kwargs):+ # StockSnap uses /{page} at the end of the endpoint url instead of query params.+ self._page_counter += 1return None- foreign_landing_url = f"https://{HOST}/photo/{foreign_id}"- image_url, width, height = _get_image_info(media_data)- if image_url is None:- logger.info("Found no image url.")- logger.info(f"{json.dumps(media_data, indent=2)}")- return None- title = _get_title(media_data)- if title is None:- logger.info("Found no image title.")- logger.info(f"{json.dumps(media_data, indent=2)}")++ def get_media_type(self, record):+ return "image"++ @property+ def endpoint(self):+ return f"{ENDPOINT_BASE}/{self._page_counter}"++ def get_should_continue(self, response_json):+ return bool(response_json.get("nextPage"))++ def get_batch_data(self, response_json):+ """+ Take an API response and return the list of records.+ """+ if response_json:+ return response_json.get("results")return None- creator, creator_url = _get_creator_data(media_data)- metadata = _get_metadata(media_data)- tags = _get_tags(media_data)-- return {- "title": title,- "creator": creator,- "creator_url": creator_url,- "foreign_identifier": foreign_id,- "foreign_landing_url": foreign_landing_url,- "image_url": image_url,- "filesize": _get_filesize(image_url),- "filetype": "jpg",- "height": height,- "width": width,- "license_info": license_info,- "meta_data": metadata,- "raw_tags": tags,- "category": prov.DEFAULT_IMAGE_CATEGORY[PROVIDER],- }+ def get_record_data(self, data):+ """+ Parse out the necessary information (license info, urls, etc) from the record+ data (single image dict-like thing) into a dictionary.+ """+ try:+ foreign_id = data["img_id"]+ except (TypeError, KeyError, AttributeError):+ return None++ slug = "-".join(data.get("keywords", [])[:2])+ foreign_landing_url = f"https://{HOST}/photo/{slug}-{foreign_id}"++ image_url, width, height = self._get_image_info(data)+ if image_url is None:+ logger.info("Found no image url.")+ logger.info(f"{json.dumps(data, indent=2)}")+ return None++ title = self._get_title(data)+ if title is None:+ logger.info("Found no image title.")+ logger.info(f"{json.dumps(data, indent=2)}")+ return None++ creator, creator_url = self._get_creator_data(data)+ metadata = self._get_metadata(data)+ tags = self._get_tags(data)+ filesize = self._get_filesize(image_url)++ return {+ "title": title,+ "creator": creator,+ "creator_url": creator_url,+ "foreign_identifier": foreign_id,+ "foreign_landing_url": foreign_landing_url,+ "image_url": image_url,+ "filesize": filesize,+ "filetype": "jpg",+ "height": height,+ "width": width,+ "license_info": self.license_info,+ "meta_data": metadata,+ "raw_tags": tags,+ "category": prov.DEFAULT_IMAGE_CATEGORY[PROVIDER],+ }++ @staticmethod+ def _get_image_info(item):+ width = item.get("img_width")+ height = item.get("img_height")+ img_id = item.get("img_id")+ image_url = f"{IMAGE_CDN}/{img_id}.jpg"+ return image_url, width, height++ @staticmethod+ def _get_creator_data(item):+ """+ Get the author's name and website preferring their custom link over the+ StockSnap profile. The latter is used if the first is not found.+ """+ creator_name = item.get("author_name")+ if creator_name is None:+ return None, None+ creator_url = item.get("author_website")+ if creator_url is None or creator_url in [+ "https://stocksnap.io/",+ "https://stocksnap.io/author/undefined/",+ ]:+ creator_url = item.get("author_profile")+ return creator_name, creator_url++ @staticmethod+ def _get_title(item):+ """+ Get the first two photo's tags/keywords to make the title and transform it+ to title case, as shown on its page.+ """+ tags = item.get("keywords", [])[:2]+ if len(tags) > 0:+ img_title = " ".join(tags)+ return img_title.title()++ def _get_filesize(self, image_url):+ """+ Get the size of the image in bytes.+ """+ resp = self.delayed_requester.get(image_url)+ if resp:+ filesize = int(resp.headers.get("Content-Length", 0))+ return filesize if filesize != 0 else None++ @staticmethod+ def _get_metadata(item):+ """+ Include popularity statistics.+ """+ extras = ["downloads_raw", "page_views_raw", "favorites_raw"]+ metadata = {}+ for key in extras:+ value = item.get(key)+ if value is not None:+ metadata[key] = value+ return metadata++ @staticmethod+ def _get_tags(item):+ return item.get("keywords")-def _get_image_info(item):- width = item.get("img_width")- height = item.get("img_height")- img_id = item.get("img_id")- image_url = f"{IMAGE_CDN}/{img_id}.jpg"- return image_url, width, height---def _get_creator_data(item):- """- Get the author's name and website preferring their custom link over the- StockSnap profile. The latter is used if the first is not found.- """- creator_name = item.get("author_name")- if creator_name is None:- return None, None- creator_url = item.get("author_website")- if creator_url is None or creator_url in [- "https://stocksnap.io/",- "https://stocksnap.io/author/undefined/",- ]:- creator_url = item.get("author_profile")- return creator_name, creator_url---def _get_title(item):- """- Get the first two photo's tags/keywords to make the title and transform it- to title case, as shown on its page.- """- tags = item.get("keywords", [])[:2]- if len(tags) > 0:- tags.append("Photo")- img_title = " ".join(tags)- return img_title.title()---def _get_filesize(image_url):- """- Get the size of the image in bytes.- """- resp = delayed_requester.get(image_url)- if resp:- filesize = int(resp.headers.get("Content-Length", 0))- return filesize if filesize != 0 else None---def _get_metadata(item):- """- Include popularity statistics.- """- extras = ["downloads_raw", "page_views_raw", "favorites_raw"]- metadata = {}- for key in extras:- value = item.get(key)- if value is not None:- metadata[key] = value- return metadata---def _get_tags(item):- return item.get("keywords")++def main():+ logger.info("Begin: StockSnap data ingestion")+ ingester = StockSnapDataIngester()+ ingester.ingest_records()if __name__ == "__main__":diff --git a/openverse_catalog/dags/providers/provider_workflows.py b/openverse_catalog/dags/providers/provider_workflows.pyindex ea875575a..7a44a04bd 100644--- a/openverse_catalog/dags/providers/provider_workflows.py+++ b/openverse_catalog/dags/providers/provider_workflows.py@@ -4,6 +4,7 @@ from typing import Dict, Optional, Sequence, Typefrom providers.provider_api_scripts.cleveland_museum import ClevelandDataIngesterfrom providers.provider_api_scripts.provider_data_ingester import ProviderDataIngester+from providers.provider_api_scripts.stocksnap import StockSnapDataIngester@dataclass@@ -142,6 +143,7 @@ PROVIDER_WORKFLOWS = [),ProviderWorkflow(provider_script="stocksnap",+ ingester_class=StockSnapDataIngester,),ProviderWorkflow(provider_script="walters",diff --git a/tests/dags/providers/provider_api_scripts/resources/stocksnap/full_response.json b/tests/dags/providers/provider_api_scripts/resources/stocksnap/full_response.jsonindex a19e81a64..5784a52f4 100644--- a/tests/dags/providers/provider_api_scripts/resources/stocksnap/full_response.json+++ b/tests/dags/providers/provider_api_scripts/resources/stocksnap/full_response.json@@ -1,1516 +1,1615 @@-[- {- "adjustedWidth": 224,- "author_id": 131445,- "author_name": "Macro Mama",- "author_profile": "https://stocksnap.io/author/131445",- "author_website": "https://mattbango.photo/",- "downloads_raw": 0,- "favorited": false,- "favorites_raw": 0,- "img_height": 3218,- "img_id": "NWDKOJPFIF",- "img_width": 2574,- "keywords": [- "summer",- "cocktail",- "drink",- "liquid",- "ice",- "glass",- "mint",- "beverage",- "cold",- "fruit",- "alcohol",- "refreshing",- "soda",- "freshness",- "aperitif",- "background",- "day",- "fresh",- "pink",- "rum",- "vodka",- "flowers"- ],- "page_views_raw": 15,- "tags": "summer, cocktail, drink, liquid, ice, glass, mint, beverage, cold, fruit, alcohol, refreshing, soda, freshness, aperitif, background, day, fresh, pink, rum, vodka, flowers"- },- {- "adjustedWidth": 420,- "author_id": 148922,- "author_name": "Senior Living",- "author_profile": "https://stocksnap.io/author/148922",- "author_website": "https://stocksnap.io/",- "downloads_raw_raw": 0,- "favorited": false,- "favorites_raw_raw": 0,- "img_height": 3840,- "img_id": "FBD5YZNVUM",- "img_width": 5760,- "keywords": [- "happy",- "couple",- "home",- "leisure",- "casual",- "man",- "woman",- "together",- "senior",- "lifestyle",- "retirement",- "people",- "indoors",- "sofa",- "room",- "fun",- "smiling",- "male",- "female",- "togetherness",- "tablet",- "internet",- "technology"- ],- "page_views_raw": 30,- "tags": "happy, couple, home, leisure, casual, man, woman, together, senior, lifestyle, retirement, people, indoors, sofa, room, fun, smiling, male, female, togetherness, tablet, internet, technology"- },- {- "adjustedWidth": 414,- "author_id": 140991,- "author_name": "JJ%20Sky%u2019s%20the%20Limit",- "author_profile": "https://stocksnap.io/author/140991",- "author_website": "https://jjskysthelimit.com",- "downloads_raw": 0,- "favorited": false,- "favorites_raw": 0,- "img_height": 3073,- "img_id": "DQIYMD4ZKW",- "img_width": 4545,- "keywords": [- "sailing",- "boat",- "ocean",- "sea",- "coast",- "sport",- "sailboat",- "yacht",- "blue",- "nature",- "water",- "summer",- "horizon",- "transportation",- "wind",- "vessel",- "yachting",- "vacation",- "day",- "aerial",- "recreation",- "coastline",- "clouds",- "calm",- "travel",- "leisure"- ],- "page_views_raw": 20,- "tags": "sailing, boat, ocean, sea, coast, sport, sailboat, yacht, blue, nature, water, summer, horizon, transportation, wind, vessel, yachting, vacation, day, aerial, recreation, coastline, clouds, calm, travel, leisure"- },- {- "adjustedWidth": 379,- "author_id": 125683,- "author_name": "Macro Mama",- "author_profile": "https://stocksnap.io/author/125683",- "author_website": "https://stocksnap.io/",- "downloads_raw": 0,- "favorited": false,- "favorites_raw": 0,- "img_height": 3878,- "img_id": "P6XOLWHNI6",- "img_width": 5254,- "keywords": [- "abstract",- "flower",- "background",- "macro",- "plant",- "floral",- "closeup",- "botany",- "wallpaper",- "organic",- "defocus",- "petals",- "pattern",- "soft",- "calm",- "texture",- "purple",- "lavender",- "pink"- ],- "page_views_raw": 15,- "tags": "abstract, flower, background, macro, plant, floral, close up, botany, wallpaper, organic, defocus, petals, pattern, soft, calm, texture, purple, lavender, pink"- },- {- "adjustedWidth": 420,- "author_id": 111564,- "author_name": "Matt Moloney",- "author_profile": "https://stocksnap.io/author/111564",- "author_website": "https://mjmolo.com/",- "downloads_raw": 0,- "favorited": false,- "favorites_raw": 0,- "img_height": 4000,- "img_id": "7VAQUG1X3B",- "img_width": 6000,- "keywords": [- "female",- "fitness",- "trainer",- "model",- "outdoors",- "fit",- "workout",- "health",- "woman",- "field",- "girl",- "pose",- "sport",- "athlete",- "recreation",- "wellness",- "people",- "fashion",- "day",- "active",- "sports",- "track",- "stretch",- "lifestyle",- "squat"- ],- "page_views_raw": 30,- "tags": "female, fitness, trainer, model, outdoors, fit, workout, health, woman, field, girl, pose, sport, athlete, recreation, wellness, people, fashion, day, active, sports, track, stretch, lifestyle, squat"- },- {- "adjustedWidth": 420,- "author_id": 131445,- "author_name": "Matt Bango",- "author_profile": "https://stocksnap.io/author/131445",- "author_website": "https://mattbango.photo/",- "downloads_raw": 10,- "favorited": false,- "favorites_raw": 0,- "img_height": 5464,- "img_id": "GFZE0CFAKF",- "img_width": 8192,- "keywords": [- "single",- "tree",- "nature",- "sky",- "branches",- "field",- "horizon",- "lonely",- "countryside",- "grass",- "natural",- "landscape",- "valley",- "hills",- "pasture",- "outdoors",- "oak",- "sun",- "day",- "clouds"- ],- "page_views_raw": 15,- "tags": "single, tree, nature, sky, branches, field, horizon, lonely, countryside, grass, natural, landscape, valley, hills, pasture, outdoors, oak, sun, day, clouds"- },- {- "adjustedWidth": 158,- "author_id": 75781,- "author_name": "Mary",- "author_profile": "https://stocksnap.io/author/75781",- "author_website": "https://www.instagram.com/maryroseandflowers/",- "downloads_raw": 0,- "favorited": false,- "favorites_raw": 0,- "img_height": 4592,- "img_id": "VG6KUVELHD",- "img_width": 2584,- "keywords": [- "apple",- "tree",- "branch",- "closeup",- "nature",- "food",- "growing",- "dew",- "droplets",- "water",- "fresh",- "organic",- "leaves",- "apples",- "fall",- "autumn",- "harvest",- "bokeh",- "rain",- "green"- ],- "page_views_raw": 35,- "tags": "apple, tree, branch, close up, nature, food, growing, dew, droplets, water, fresh, organic, leaves, apples, fall, autumn, harvest, bokeh, rain, green"- },- {- "adjustedWidth": 420,- "author_id": 108404,- "author_name": "Ian Livesey",- "author_profile": "https://stocksnap.io/author/108404",- "author_website": "https://www.flickr.com/photos/ianlivesey/",- "downloads_raw": 0,- "favorited": false,- "favorites_raw": 0,- "img_height": 4096,- "img_id": "I1CNCRXDYR",- "img_width": 6144,- "keywords": [- "pig",- "animal",- "farm",- "piglet",- "pink",- "agriculture",- "swine",- "young",- "nature",- "mammal",- "livestock",- "domestic",- "piggy",- "cute",- "meat",- "pork",- "small",- "food",- "three",- "sleeping"- ],- "page_views_raw": 20,- "tags": "pig, animal, farm, piglet, pink, agriculture, swine, young, nature, mammal, livestock, domestic, piggy, cute, meat, pork, small, food, three, sleeping"- },- {- "adjustedWidth": 449,- "author_id": 91137,- "author_name": "Mike Moloney",- "author_profile": "https://stocksnap.io/author/91137",- "author_website": "https://filtergrade.com",- "downloads_raw": 0,- "favorited": false,- "favorites_raw": 0,- "img_height": 2472,- "img_id": "9OYLTD3QGB",- "img_width": 3963,- "keywords": [- "city",- "buildings",- "architecture",- "building",- "perspective",- "tall",- "high",- "sky",- "facade",- "exterior",- "structure",- "tree",- "day",- "travel",- "glass",- "urban"- ],- "page_views_raw": 20,- "tags": "city, buildings, architecture, building, perspective, tall, high, sky, facade, exterior, structure, tree, day, travel, glass, urban"- },- {- "adjustedWidth": 420,- "author_id": 113200,- "author_name": "Kristin Hardwick",- "author_profile": "https://stocksnap.io/author/113200",- "author_website": "https://www.kristinhardwick.com/",- "downloads_raw": 5,- "favorited": false,- "favorites_raw": 0,- "img_height": 3631,- "img_id": "IQOOYW0MYZ",- "img_width": 5446,- "keywords": [- "browsing",- "smartphone",- "cell",- "phone",- "technology",- "person",- "iphone",- "calling",- "communication",- "casual",- "hands",- "female",- "reading",- "table",- "woman",- "jewelry",- "colorful",- "laptop",- "work",- "business",- "freelance",- "office"- ],- "page_views_raw": 10,- "tags": "browsing, smartphone, cell, phone, technology, person, iphone, calling, communication, casual, hands, female, reading, table, woman, jewelry, colorful, laptop, work, business, freelance, office"- },- {- "adjustedWidth": 420,- "author_id": 159631,- "author_name": "Made by Christina Truong",- "author_profile": "https://stocksnap.io/author/159631",- "author_website": "https://christinatruong.com/",- "downloads_raw": 5,- "favorited": false,- "favorites_raw": 0,- "img_height": 2831,- "img_id": "6ICJXP5TZB",- "img_width": 4247,- "keywords": [- "mac",- "apple",- "laptop",- "computer",- "freelance",- "office",- "keyboard",- "coding",- "futuristic",- "glow",- "lighting",- "flatlay",- "texture"- ],- "page_views_raw": 90,- "tags": "mac, apple, laptop, computer, freelance, office, keyboard, coding, futuristic, glow, lighting, flat lay, texture"- },- {- "adjustedWidth": 420,- "author_id": 159631,- "author_name": "Made by Christina Truong",- "author_profile": "https://stocksnap.io/author/159631",- "author_website": "https://christinatruong.com/",- "downloads_raw": 15,- "favorited": false,- "favorites_raw": 0,- "img_height": 3648,- "img_id": "QUQXLZK1WL",- "img_width": 5472,- "keywords": [- "mac",- "laptop",- "cable",- "cord",- "technology",- "flatlay",- "office",- "computer",- "business",- "freelance",- "charge"- ],- "page_views_raw": 70,- "tags": "mac, laptop, cable, cord, technology, flat lay, office, computer, business, freelance, charge"- },- {- "adjustedWidth": 187,- "author_id": 158036,- "author_name": "Floral Portrait Backgrounds",- "author_profile": "https://stocksnap.io/author/158036",- "author_website": "https://www.cancer.ca/",- "downloads_raw": 5,- "favorited": false,- "favorites_raw": 0,- "img_height": 6000,- "img_id": "AY3QV66PBO",- "img_width": 4000,- "keywords": [- "flower",- "painting",- "background",- "floral",- "abstract",- "wallpaper",- "art",- "illustration",- "vintage",- "oil",- "color",- "nature",- "spring",- "artistic",- "artwork",- "fantasy",- "romantic",- "textured",- "mobilewallpaper",- "backdrop",- "copyspace",- "yellow",- "bright",- "vivid"- ],- "page_views_raw": 80,- "tags": "flower, painting, background, floral, abstract, wallpaper, art, illustration, vintage, oil, color, nature, spring, artistic, artwork, fantasy, romantic, textured, mobile wallpaper, backdrop, copy space, yellow, bright, vivid"- },- {- "adjustedWidth": 420,- "author_id": 113200,- "author_name": "Kristin Hardwick",- "author_profile": "https://stocksnap.io/author/113200",- "author_website": "https://www.kristinhardwick.com/",- "downloads_raw": 5,- "favorited": false,- "favorites_raw": 0,- "img_height": 3840,- "img_id": "NHP271KZJD",- "img_width": 5760,- "keywords": [- "golf",- "sport",- "grass",- "outdoor",- "course",- "ball",- "green",- "game",- "lawn",- "recreation",- "summer",- "challenge",- "play",- "target",- "golfing",- "closeup",- "hobby",- "sport",- "background"- ],- "page_views_raw": 65,- "tags": "golf, sport, grass, outdoor, course, ball, green, game, lawn, recreation, summer, challenge, play, target, golfing, close up, hobby, sport, background"- },- {- "adjustedWidth": 420,- "author_id": 108404,- "author_name": "Ian Livesey",- "author_profile": "https://stocksnap.io/author/108404",- "author_website": "https://www.flickr.com/photos/ianlivesey/",- "downloads_raw": 15,- "favorited": false,- "favorites_raw": 0,- "img_height": 4096,- "img_id": "IE49WL0PF2",- "img_width": 6144,- "keywords": [- "fog",- "water",- "sky",- "morning",- "nature",- "outdoors",- "sea",- "cloud",- "landscape",- "travel",- "mist",- "seascape",- "sunlight",- "foggy",- "scenic",- "ocean",- "lake",- "horizon",- "dark",- "moody",- "mountains",- "calm"- ],- "page_views_raw": 60,- "tags": "fog, water, sky, morning, nature, outdoors, sea, cloud, landscape, travel, mist, seascape, sunlight, foggy, scenic, ocean, lake, horizon, dark, moody, mountains, calm"- },- {- "adjustedWidth": 420,- "author_id": 133121,- "author_name": "World Wildlife",- "author_profile": "https://stocksnap.io/author/133121",- "author_website": "https://mattbango.photo/",- "downloads_raw": 5,- "favorited": false,- "favorites_raw": 0,- "img_height": 5464,- "img_id": "DJOWKLRYSW",- "img_width": 8192,- "keywords": [- "husky",- "animal",- "dog",- "eyes",- "portrait",- "white",- "siberian",- "pet",- "blue",- "background",- "friend",- "mammal",- "purebred",- "veterinary",- "breed",- "face",- "canine",- "companion",- "flowers",- "outdoors",- "copyspace"- ],- "page_views_raw": 45,- "tags": "husky, animal, dog, eyes, portrait, white, siberian, pet, blue, background, friend, mammal, purebred, veterinary, breed, face, canine, companion, flowers, outdoors, copy space"- },- {- "adjustedWidth": 420,- "author_id": 151544,- "author_name": "Bath Time",- "author_profile": "https://stocksnap.io/author/151544",- "author_website": "https://stocksnap.io/",- "downloads_raw": 0,- "favorited": false,- "favorites_raw": 0,- "img_height": 4480,- "img_id": "N6YIK06EZV",- "img_width": 6720,- "keywords": [- "family",- "bathroom",- "bath",- "girl",- "mother",- "woman",- "tub",- "soap",- "fun",- "happy",- "child",- "bathtub",- "person",- "health",- "care",- "hygiene",- "clean",- "healthy",- "little",- "water",- "black",- "motherhood",- "parent",- "people"- ],- "page_views_raw": 55,- "tags": "family, bathroom, bath, girl, mother, woman, tub, soap, fun, happy, child, bathtub, person, health, care, hygiene, clean, healthy, little, water, black, motherhood, parent, people"- },- {- "adjustedWidth": 373,- "author_id": 131445,- "author_name": "Matt Bango",- "author_profile": "https://stocksnap.io/author/131445",- "author_website": "https://mattbango.photo/",- "downloads_raw": 0,- "favorited": false,- "favorites_raw": 0,- "img_height": 3024,- "img_id": "T9LSYLKSOQ",- "img_width": 4032,- "keywords": [- "no",- "parking",- "sign",- "background",- "warning",- "signage",- "automobile",- "caution",- "alert",- "notice",- "symbol",- "forbidden",- "typography",- "message"- ],- "page_views_raw": 45,- "tags": "no, parking, sign, background, warning, signage, automobile, caution, alert, notice, symbol, forbidden, typography, message"- },- {- "adjustedWidth": 373,- "author_id": 145450,- "author_name": "FOCA Stock",- "author_profile": "https://stocksnap.io/author/145450",- "author_website": "https://focastock.com/",- "downloads_raw": 5,- "favorited": false,- "favorites_raw": 0,- "img_height": 3648,- "img_id": "CDUKOQST8S",- "img_width": 4864,- "keywords": [- "purple",- "flowers",- "field",- "green",- "leaf",- "nature",- "natural",- "plant",- "wild",- "background",- "bloom",- "blooming",- "blossom",- "garden",- "summer",- "flora",- "floral",- "grass",- "outdoor",- "season",- "spring",- "meadow",- "sunlight",- "bokeh",- "wildflower"- ],- "page_views_raw": 60,- "tags": "purple, flowers, field, green, leaf, nature, natural, plant, wild, background, bloom, blooming, blossom, garden, summer, flora, floral, grass, outdoor, season, spring, meadow, sunlight, bokeh, wildflower"- },- {- "adjustedWidth": 210,- "author_id": 129953,- "author_name": "The Building Envelope",- "author_profile": "https://stocksnap.io/author/129953",- "author_website": "https://stocksnap.io/",- "downloads_raw": 0,- "favorited": false,- "favorites_raw": 0,- "img_height": 3708,- "img_id": "JEGP4JIPXX",- "img_width": 2781,- "keywords": [- "building",- "balconies",- "exterior",- "architecture",- "urban",- "apartment",- "facade",- "city",- "pattern",- "condo",- "design",- "modern",- "glass",- "real",- "estate",- "property"- ],- "page_views_raw": 30,- "tags": "building, balconies, exterior, architecture, urban, apartment, facade, city, pattern, condo, design, modern, glass, real, estate, property"- },- {- "adjustedWidth": 448,- "author_id": 91137,- "author_name": "Mike Moloney",- "author_profile": "https://stocksnap.io/author/91137",- "author_website": "https://filtergrade.com",- "downloads_raw": 0,- "favorited": false,- "favorites_raw": 0,- "img_height": 2548,- "img_id": "VYTEWBJEXM",- "img_width": 4073,- "keywords": [- "fried",- "chicken",- "food",- "restaurant",- "eating",- "lunch",- "snack",- "poultry",- "dip",- "sauce",- "plate",- "tenders",- "fast",- "wings",- "breaded",- "batter",- "golden"- ],- "page_views_raw": 30,- "tags": "fried, chicken, food, restaurant, eating, lunch, snack, poultry, dip, sauce, plate, tenders, fast, wings, breaded, batter, golden"- },- {- "adjustedWidth": 420,- "author_id": 111564,- "author_name": "Matt Moloney",- "author_profile": "https://stocksnap.io/author/111564",- "author_website": "https://mjmolo.com/",- "downloads_raw": 0,- "favorited": false,- "favorites_raw": 0,- "img_height": 1333,- "img_id": "9Q6JZA4AAH",- "img_width": 2000,- "keywords": [- "photographer",- "picture",- "photo",- "photograph",- "man",- "male",- "camera",- "lens",- "professional",- "person",- "outdoors",- "guy",- "work",- "technology",- "photography",- "portrait",- "background",- "optical",- "equipment",- "art",- "hobby",- "view",- "sky",- "looking",- "field"- ],- "page_views_raw": 75,- "tags": "photographer, picture, photo, photograph, man, male, camera, lens, professional, person, outdoors, guy, work, technology, photography, portrait, background, optical, equipment, art, hobby, view, sky, looking, field"- },- {- "adjustedWidth": 187,- "author_id": 109728,- "author_name": "Kelly Ishmael",- "author_profile": "https://stocksnap.io/author/109728",- "author_website": "https://mindingmynest.com/",- "downloads_raw": 5,- "favorited": false,- "favorites_raw": 0,- "img_height": 5472,- "img_id": "4YAQV4BIJZ",- "img_width": 3648,- "keywords": [- "sidewalk",- "day",- "tree",- "path",- "empty",- "grass",- "road",- "lawn",- "scene",- "pathway",- "car",- "nature",- "pavement",- "building",- "outdoor",- "park",- "street",- "walk",- "way",- "branches",- "rural",- "hydrant",- "blooming",- "trees",- "scenic"- ],- "page_views_raw": 55,- "tags": "sidewalk, day, tree, path, empty, grass, road, lawn, scene, pathway, car, nature, pavement, building, outdoor, park, street, walk, way, branches, rural, hydrant, blooming, trees, scenic"- },- {- "adjustedWidth": 419,- "author_id": 157353,- "author_name": "Top Down Tech",- "author_profile": "https://stocksnap.io/author/157353",- "author_website": "https://stocksnap.io/",- "downloads_raw": 15,- "favorited": false,- "favorites_raw": 0,- "img_height": 4016,- "img_id": "TLFEWOOWEB",- "img_width": 6016,- "keywords": [- "workspace",- "office",- "business",- "freelance",- "note",- "pad",- "blank",- "school",- "work",- "objects",- "desk",- "technology",- "minimal",- "postit",- "typing",- "coffee",- "beverage",- "copyspace",- "cup",- "mug",- "tablet",- "smart",- "watch",- "flatlay"- ],- "page_views_raw": 85,- "tags": "workspace, office, business, freelance, note, pad, blank, school, work, objects, desk, technology, minimal, post it, typing, coffee, beverage, copy space, cup, mug, tablet, smart, watch, flat lay"- },- {- "adjustedWidth": 420,- "author_id": 133875,- "author_name": "Candace McDaniel",- "author_profile": "https://stocksnap.io/author/133875",- "author_website": "https://stocksnap.io/",- "downloads_raw": 20,- "favorited": false,- "favorites_raw": 0,- "img_height": 1365,- "img_id": "ZIL107JUKC",- "img_width": 2048,- "keywords": [- "bride",- "wedding",- "bouquet",- "happiness",- "flowers",- "celebration",- "love",- "beauty",- "person",- "woman",- "groom",- "couple",- "marriage",- "engagement",- "man",- "fashion",- "day",- "sunflower",- "ceremony"- ],- "page_views_raw": 60,- "tags": "bride, wedding, bouquet, happiness, flowers, celebration, love, beauty, person, woman, groom, couple, marriage, engagement, man, fashion, day, sunflower, ceremony"- },- {- "adjustedWidth": 350,- "author_id": 132083,- "author_name": "Design by Matt",- "author_profile": "https://stocksnap.io/author/132083",- "author_website": "http://mattbango.com/",- "downloads_raw": 20,- "favorited": false,- "favorites_raw": 0,- "img_height": 5351,- "img_id": "HJQZB3UO12",- "img_width": 6689,- "keywords": [- "mesh",- "background",- "abstract",- "pattern",- "texture",- "design",- "hole",- "industrial",- "grille",- "backdrop",- "grill",- "grid",- "sheet",- "tile",- "fabric",- "surface",- "wallpaper",- "speaker",- "design"- ],- "page_views_raw": 95,- "tags": "mesh, background, abstract, pattern, texture, design, hole, industrial, grille, backdrop, grill, grid, sheet, tile, fabric, surface, wallpaper, speaker, design"- },- {- "adjustedWidth": 420,- "author_id": 108592,- "author_name": "Travel Photographer",- "author_profile": "https://stocksnap.io/author/108592",- "author_website": "https://stocksnap.io",- "downloads_raw": 15,- "favorited": false,- "favorites_raw": 0,- "img_height": 4000,- "img_id": "CIWLQNUEBV",- "img_width": 6000,- "keywords": [- "flower",- "decoration",- "closeup",- "vase",- "floral",- "background",- "home",- "room",- "decor",- "interior",- "plant",- "fresh",- "glass",- "colorful",- "minimal",- "bright",- "blossom",- "petals",- "isolated",- "jar",- "copyspace"- ],- "page_views_raw": 60,- "tags": "flower, decoration, close up, vase, floral, background, home, room, decor, interior, plant, fresh, glass, colorful, minimal, bright, blossom, petals, isolated, jar, copy space"- },- {- "adjustedWidth": 420,- "author_id": 145556,- "author_name": "Direct Media",- "author_profile": "https://stocksnap.io/author/145556",- "author_website": "https://stocksnap.io/",- "downloads_raw": 5,- "favorited": false,- "favorites_raw": 0,- "img_height": 4480,- "img_id": "JVU7DG266D",- "img_width": 6720,- "keywords": [- "business",- "people",- "meeting",- "office",- "work",- "staff",- "men",- "women",- "person",- "discussion",- "group",- "talking",- "team",- "teamwork",- "corporate",- "communication",- "male",- "female",- "smile"- ],- "page_views_raw": 80,- "tags": "business, people, meeting, office, work, staff, men, women, person, discussion, group, talking, team, teamwork, corporate, communication, male, female, smile"- },- {- "adjustedWidth": 420,- "author_id": 110369,- "author_name": "Vintage Film Pics",- "author_profile": "https://stocksnap.io/author/110369",- "author_website": "https://stocksnap.io/",- "downloads_raw": 15,- "favorited": false,- "favorites_raw": 0,- "img_height": 2558,- "img_id": "57GZAIFB74",- "img_width": 3838,- "keywords": [- "barren",- "landscape",- "valley",- "hill",- "mountain",- "cliff",- "dry",- "scenic",- "outdoors",- "remote",- "nature",- "sky",- "climate",- "desolate",- "drought",- "rock",- "terrain",- "arid",- "vintage",- "film"- ],- "page_views_raw": 75,- "tags": "barren, landscape, valley, hill, mountain, cliff, dry, scenic, outdoors, remote, nature, sky, climate, desolate, drought, rock, terrain, arid, vintage, film"- },- {- "adjustedWidth": 420,- "author_id": 111564,- "author_name": "Matt Moloney",- "author_profile": "https://stocksnap.io/author/111564",- "author_website": "https://mjmolo.com/",- "downloads_raw": 10,- "favorited": false,- "favorites_raw": 0,- "img_height": 2667,- "img_id": "EEW7DRGW6Y",- "img_width": 4000,- "keywords": [- "face",- "mask",- "person",- "man",- "corona",- "coronavirus",- "safety",- "caution",- "flu",- "protection",- "male",- "guy",- "covid-19",- "quarantine",- "people",- "healthcare",- "city",- "urban",- "travel",- "bus",- "subway",- "transit"- ],- "page_views_raw": 60,- "tags": "face, mask, person, man, corona, coronavirus, safety, caution, flu, protection, male, guy, covid-19, quarantine, people, healthcare, city, urban, travel, bus, subway, transit"- },- {- "adjustedWidth": 433,- "author_id": 91137,- "author_name": "Mike Moloney",- "author_profile": "https://stocksnap.io/author/91137",- "author_website": "https://filtergrade.com",- "downloads_raw": 10,- "favorited": false,- "favorites_raw": 0,- "img_height": 2632,- "img_id": "CNR0WYMVJX",- "img_width": 4066,- "keywords": [- "brick",- "building",- "exterior",- "facade",- "industrial",- "business",- "perspective",- "architecture",- "city",- "apartment",- "urban",- "old",- "window",- "business",- "construction",- "wall",- "background",- "industry",- "structure"- ],- "page_views_raw": 55,- "tags": "brick, building, exterior, facade, industrial, business, perspective, architecture, city, apartment, urban, old, window, business, construction, wall, background, industry, structure"- },- {- "adjustedWidth": 186,- "author_id": 133121,- "author_name": "World Wildlife",- "author_profile": "https://stocksnap.io/author/133121",- "author_website": "https://mattbango.photo/",- "downloads_raw": 10,- "favorited": false,- "favorites_raw": 0,- "img_height": 2917,- "img_id": "PCTIVNAR2B",- "img_width": 1939,- "keywords": [- "panda",- "bear",- "animal",- "face",- "eyes",- "nose",- "wildlife",- "nature",- "outdoors",- "wild",- "zoo",- "big",- "black",- "park",- "ears",- "fur",- "mammal",- "endangered",- "china",- "white",- "cute",- "asia",- "forest",- "tree",- "hanging",- "looking",- "climb"- ],- "page_views_raw": 60,- "tags": "panda, bear, animal, face, eyes, nose, wildlife, nature, outdoors, wild, zoo, big, black, park, ears, fur, mammal, endangered, china, white, cute, asia, forest, tree, hanging, looking, climb"- },- {- "adjustedWidth": 373,- "author_id": 145450,- "author_name": "FOCA Stock",- "author_profile": "https://stocksnap.io/author/145450",- "author_website": "https://focastock.com/",- "downloads_raw": 35,- "favorited": false,- "favorites_raw": 0,- "img_height": 3456,- "img_id": "NUTNJHJRDA",- "img_width": 4608,- "keywords": [- "grass",- "background",- "summer",- "backdrop",- "green",- "nature",- "environment",- "fresh",- "plant",- "spring",- "growth",- "wallpaper",- "abstract",- "pattern",- "beautiful",- "park",- "lawn",- "meadow",- "sunshine",- "turf",- "closeup"- ],- "page_views_raw": 170,- "tags": "grass, background, summer, backdrop, green, nature, environment, fresh, plant, spring, growth, wallpaper, abstract, pattern, beautiful, park, lawn, meadow, sunshine, turf, close up"- },- {- "adjustedWidth": 373,- "author_id": 131445,- "author_name": "Matt Bango",- "author_profile": "https://stocksnap.io/author/131445",- "author_website": "https://mattbango.photo/",- "downloads_raw": 55,- "favorited": false,- "favorites_raw": 0,- "img_height": 2448,- "img_id": "DJRXWJKPQJ",- "img_width": 3264,- "keywords": [- "ocean",- "coast",- "landscape",- "beach",- "shore",- "sand",- "wave",- "tide",- "water",- "sea",- "rocky",- "scenery",- "nature",- "land",- "foam",- "scenic",- "waves",- "coastline",- "calm",- "footprints",- "coastal"- ],- "page_views_raw": 235,- "tags": "ocean, coast, landscape, beach, shore, sand, wave, tide, water, sea, rocky, scenery, nature, land, foam, scenic, waves, coastline, calm, footprints, coastal"- },- {- "adjustedWidth": 416,- "author_id": 125683,- "author_name": "Macro Mama",- "author_profile": "https://stocksnap.io/author/125683",- "author_website": "https://stocksnap.io/",- "downloads_raw": 30,- "favorited": false,- "favorites_raw": 0,- "img_height": 3410,- "img_id": "DDKKOBD4YO",- "img_width": 5066,- "keywords": [- "abstract",- "flower",- "background",- "macro",- "plant",- "floral",- "closeup",- "botany",- "wallpaper",- "organic",- "petals",- "pattern",- "texture",- "blossom",- "nature",- "flora",- "dark",- "purple",- "dramatic"- ],- "page_views_raw": 140,- "tags": "abstract, flower, background, macro, plant, floral, close up, botany, wallpaper, organic, petals, pattern, texture, blossom, nature, flora, dark, purple, dramatic"- },- {- "adjustedWidth": 420,- "author_id": 113200,- "author_name": "Kristin Hardwick",- "author_profile": "https://stocksnap.io/author/113200",- "author_website": "https://www.kristinhardwick.com/",- "downloads_raw": 5,- "favorited": false,- "favorites_raw": 0,- "img_height": 3329,- "img_id": "5AEWDL4QRV",- "img_width": 4994,- "keywords": [- "woman",- "golfer",- "golfing",- "female",- "person",- "sport",- "outdoor",- "club",- "playing",- "leisure",- "summer",- "course",- "play",- "player",- "hobby",- "swing",- "exercise",- "game",- "recreation",- "shot",- "active",- "fashion",- "swing",- "green"- ],- "page_views_raw": 130,- "tags": "woman, golfer, golfing, female, person, sport, outdoor, club, playing, leisure, summer, course, play, player, hobby, swing, exercise, game, recreation, shot, active, fashion, swing, green"- },- {- "adjustedWidth": 425,- "author_id": 111564,- "author_name": "Matt Moloney",- "author_profile": "https://stocksnap.io/author/111564",- "author_website": "https://mjmolo.com/",- "downloads_raw": 65,- "favorited": false,- "favorites_raw": 1,- "img_height": 2638,- "img_id": "UD7FZJUAGW",- "img_width": 4000,- "keywords": [- "woman",- "beach",- "fashion",- "hair",- "blonde",- "female",- "girl",- "pretty",- "sexy",- "person",- "young",- "beauty",- "vacation",- "outdoor",- "summer",- "lifestyle",- "sand",- "sun",- "sky",- "model",- "pose",- "smile",- "cloudy",- "horizon",- "ocean",- "shore",- "sea",- "coast"- ],- "page_views_raw": 205,- "tags": "woman, beach, fashion, hair, blonde, female, girl, pretty, sexy, person, young, beauty, vacation, outdoor, summer, lifestyle, sand, sun, sky, model, pose, smile, cloudy, horizon, ocean, shore, sea, coast"- },- {- "adjustedWidth": 187,- "author_id": 121424,- "author_name": "Nature's Beauty",- "author_profile": "https://stocksnap.io/author/121424",- "author_website": "https://stocksnap.io/",- "downloads_raw": 15,- "favorited": false,- "favorites_raw": 0,- "img_height": 6000,- "img_id": "HFE2RHHNV5",- "img_width": 4000,- "keywords": [- "yellow",- "flowers",- "summer",- "plant",- "green",- "spring",- "garden",- "nature",- "blossom",- "field",- "bloom",- "color",- "beautiful",- "flora",- "background",- "bright",- "natural",- "wildflower",- "floral",- "herbal",- "wild",- "bokeh",- "lily",- "mobilewallpaper"- ],- "page_views_raw": 100,- "tags": "yellow, flowers, summer, plant, green, spring, garden, nature, blossom, field, bloom, color, beautiful, flora, background, bright, natural, wildflower, floral, herbal, wild, bokeh, lily, mobile wallpaper"- },- {- "adjustedWidth": 420,- "author_id": 132083,- "author_name": "Design by Matt",- "author_profile": "https://stocksnap.io/author/132083",- "author_website": "http://mattbango.com/",- "downloads_raw": 30,- "favorited": false,- "favorites_raw": 0,- "img_height": 5464,- "img_id": "EUZYJIZY8X",- "img_width": 8192,- "keywords": [- "desk",- "top",- "view",- "table",- "closeup",- "flatlay",- "wood",- "concept",- "copyspace",- "sunglasses",- "smartphone",- "pen",- "technology",- "mobile",- "wooden",- "blank"- ],- "page_views_raw": 170,- "tags": "desk, top, view, table, close up, flat lay, wood, concept, copy space, sunglasses, smartphone, pen, technology, mobile, wooden, blank"- },- {- "adjustedWidth": 420,- "author_id": 145556,- "author_name": "Direct Media",- "author_profile": "https://stocksnap.io/author/145556",- "author_website": "https://stocksnap.io/",- "downloads_raw": 10,- "favorited": false,- "favorites_raw": 0,- "img_height": 4126,- "img_id": "IB5VY0I9A7",- "img_width": 6190,- "keywords": [- "face",- "mask",- "woman",- "healthcare",- "hospital",- "coronavirus",- "epidemic",- "medical",- "virus",- "people",- "wearing",- "female",- "disease",- "elderly",- "flu",- "prevention",- "protection",- "quarantine",- "safety",- "senior",- "pandemic",- "covid-19"- ],- "page_views_raw": 100,- "tags": "face, mask, woman, healthcare, hospital, coronavirus, epidemic, medical, virus, people, wearing, female, disease, elderly, flu, prevention, protection, quarantine, safety, senior, pandemic, covid-19"- }-]+{+ "nextPage": 2,+ "results": [+ {+ "adjustedWidth": 420,+ "author_id": 125683,+ "author_name": "Macro Mama",+ "author_profile": "https://stocksnap.io/author/125683",+ "author_website": "https://stocksnap.io/",+ "downloads": 5,+ "downloads_raw": 5,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 4000,+ "img_id": "OAJ3645ZWF",+ "img_width": 6000,+ "keywords": [+ "flower",+ "blossom",+ "macro",+ "closeup",+ "fresh",+ "petals",+ "flora",+ "floral",+ "plants",+ "organic",+ "natural",+ "spring",+ "bloom",+ "minimal",+ "background",+ "wallpaper",+ "texture",+ "pattern",+ "delicate",+ "detail",+ "botanical",+ "magnolia"+ ],+ "page_views": 25,+ "page_views_raw": 25,+ "tags": "flower, blossom, macro, close up, fresh, petals, flora, floral, plants, organic, natural, spring, bloom, minimal, background, wallpaper, texture, pattern, delicate, detail, botanical, magnolia"+ },+ {+ "adjustedWidth": 420,+ "author_id": 126244,+ "author_name": "HD Wallpapers",+ "author_profile": "https://stocksnap.io/author/126244",+ "author_website": "https://stocksnap.io/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 3648,+ "img_id": "3XAUZ03SZK",+ "img_width": 5472,+ "keywords": [+ "bokeh",+ "lights",+ "background",+ "abstract",+ "light",+ "circles",+ "defocus",+ "effect",+ "glowing",+ "pattern",+ "blur",+ "color",+ "wallpaper",+ "energy",+ "colorful",+ "soft",+ "glow"+ ],+ "page_views": 5,+ "page_views_raw": 5,+ "tags": "bokeh, lights, background, abstract, light, circles, defocus, effect, glowing, pattern, blur, color, wallpaper, energy, colorful, soft, glow"+ },+ {+ "adjustedWidth": 420,+ "author_id": 100310,+ "author_name": "Bonnie Moreland",+ "author_profile": "https://stocksnap.io/author/100310",+ "author_website": "https://www.flickr.com/photos/icetsarina/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 2512,+ "img_id": "IUZGIP9Z5L",+ "img_width": 3772,+ "keywords": [+ "waves",+ "crashing",+ "rocks",+ "coast",+ "shore",+ "water",+ "tide",+ "nature",+ "landscape",+ "ocean",+ "sea",+ "sky",+ "rocky",+ "wet",+ "background",+ "horizon",+ "sunset",+ "dusk",+ "clouds",+ "stormy",+ "gray",+ "moody"+ ],+ "page_views": 5,+ "page_views_raw": 5,+ "tags": "waves, crashing, rocks, coast, shore, water, tide, nature, landscape, ocean, sea, sky, rocky, wet, background, horizon, sunset, dusk, clouds, stormy, gray, moody"+ },+ {+ "adjustedWidth": 183,+ "author_id": 133875,+ "author_name": "Candace McDaniel",+ "author_profile": "https://stocksnap.io/author/133875",+ "author_website": "https://stocksnap.io/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 4437,+ "img_id": "XTSCWZ44XV",+ "img_width": 2894,+ "keywords": [+ "woman",+ "model",+ "fashion",+ "portrait",+ "girl",+ "pretty",+ "hair",+ "beauty",+ "face",+ "vogue",+ "people",+ "female",+ "style",+ "makeup",+ "stylish",+ "young",+ "dress",+ "smiling",+ "outdoor",+ "sunlight"+ ],+ "page_views": 15,+ "page_views_raw": 15,+ "tags": "woman, model, fashion, portrait, girl, pretty, hair, beauty, face, vogue, people, female, style, makeup, stylish, young, dress, smiling, outdoor, sunlight"+ },+ {+ "adjustedWidth": 210,+ "author_id": 112960,+ "author_name": "Bob Richards",+ "author_profile": "https://stocksnap.io/author/112960",+ "author_website": "https://stocksnap.io/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 4720,+ "img_id": "DBWJCUY3XU",+ "img_width": 3540,+ "keywords": [+ "waterfall",+ "rocks",+ "water",+ "cliff",+ "nature",+ "scenic",+ "outdoors",+ "environment",+ "splash",+ "stream",+ "beautiful",+ "outside",+ "landscape",+ "flowing",+ "forest",+ "mobilewallpaper",+ "trees",+ "motion",+ "rocky",+ "land"+ ],+ "page_views": 10,+ "page_views_raw": 10,+ "tags": "waterfall, rocks, water, cliff, nature, scenic, outdoors, environment, splash, stream, beautiful, outside, landscape, flowing, forest, mobile wallpaper, trees, motion, rocky, land"+ },+ {+ "adjustedWidth": 420,+ "author_id": 149948,+ "author_name": "Family Moments",+ "author_profile": "https://stocksnap.io/author/149948",+ "author_website": "https://stocksnap.io/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 3840,+ "img_id": "RJ1WYPX7HO",+ "img_width": 5760,+ "keywords": [+ "mother",+ "daughter",+ "portrait",+ "outside",+ "together",+ "love",+ "parent",+ "girl",+ "nature",+ "park",+ "woman",+ "outdoor",+ "people",+ "child",+ "family",+ "female",+ "fun",+ "smiling",+ "young",+ "motherhood"+ ],+ "page_views": 5,+ "page_views_raw": 5,+ "tags": "mother, daughter, portrait, outside, together, love, parent, girl, nature, park, woman, outdoor, people, child, family, female, fun, smiling, young, motherhood"+ },+ {+ "adjustedWidth": 420,+ "author_id": 109728,+ "author_name": "Kelly Ishmael",+ "author_profile": "https://stocksnap.io/author/109728",+ "author_website": "https://mindingmynest.com/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 4165,+ "img_id": "OM4F8ND9JE",+ "img_width": 6247,+ "keywords": [+ "flowers",+ "garden",+ "summer",+ "plant",+ "natural",+ "nature",+ "fresh",+ "wild",+ "pink",+ "purple",+ "leaf",+ "petals",+ "bloom",+ "blossom",+ "coneflower",+ "echinacea"+ ],+ "page_views": 0,+ "page_views_raw": 0,+ "tags": "flowers, garden, summer, plant, natural, nature, fresh, wild, pink, purple, leaf, petals, bloom, blossom, coneflower, echinacea"+ },+ {+ "adjustedWidth": 373,+ "author_id": 129953,+ "author_name": "The Building Envelope",+ "author_profile": "https://stocksnap.io/author/129953",+ "author_website": "https://stocksnap.io/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 3887,+ "img_id": "AIYQFAGNVW",+ "img_width": 5183,+ "keywords": [+ "builiding",+ "roof",+ "peak",+ "modern",+ "design",+ "architecture",+ "details",+ "structure",+ "residence",+ "real",+ "estate",+ "sky",+ "home",+ "exterior",+ "perspective",+ "painted",+ "vibrant",+ "colorful",+ "awning",+ "striped",+ "perspective"+ ],+ "page_views": 20,+ "page_views_raw": 20,+ "tags": "builiding, roof, peak, modern, design, architecture, details, structure, residence, real, estate, sky, home, exterior, perspective, painted, vibrant, colorful, awning, striped, perspective"+ },+ {+ "adjustedWidth": 420,+ "author_id": 148922,+ "author_name": "Senior Living",+ "author_profile": "https://stocksnap.io/author/148922",+ "author_website": "https://stocksnap.io/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 3840,+ "img_id": "DAC5IKXELY",+ "img_width": 5760,+ "keywords": [+ "couple",+ "dancing",+ "happy",+ "retirement",+ "fun",+ "man",+ "woman",+ "adult",+ "lifestyle",+ "flirting",+ "husband",+ "married",+ "togetherness",+ "vitality",+ "wife",+ "happiness",+ "male",+ "playful",+ "romance",+ "smiling",+ "anniversary",+ "senior",+ "love",+ "people"+ ],+ "page_views": 10,+ "page_views_raw": 10,+ "tags": "couple, dancing, happy, retirement, fun, man, woman, adult, lifestyle, flirting, husband, married, togetherness, vitality, wife, happiness, male, playful, romance, smiling, anniversary, senior, love, people"+ },+ {+ "adjustedWidth": 419,+ "author_id": 96081,+ "author_name": "Joe deSousa",+ "author_profile": "https://stocksnap.io/author/96081",+ "author_website": "https://www.flickr.com/people/mustangjoe/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 4016,+ "img_id": "K4OPKSOK6E",+ "img_width": 6016,+ "keywords": [+ "egret",+ "bird",+ "animal",+ "water",+ "wildlife",+ "nature",+ "white",+ "beak",+ "feathers",+ "avian",+ "crane",+ "two",+ "shallow",+ "standing",+ "birdwatching",+ "habitat",+ "natural",+ "wetland"+ ],+ "page_views": 10,+ "page_views_raw": 10,+ "tags": "egret, bird, animal, water, wildlife, nature, white, beak, feathers, avian, crane, two, shallow, standing, birdwatching, habitat, natural, wetland"+ },+ {+ "adjustedWidth": 210,+ "author_id": 112960,+ "author_name": "Bob Richards",+ "author_profile": "https://stocksnap.io/author/112960",+ "author_website": "https://stocksnap.io/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 1,+ "favorites_raw": 1,+ "img_height": 5184,+ "img_id": "QISC0JMAJ1",+ "img_width": 3888,+ "keywords": [+ "fern",+ "green",+ "botany",+ "detail",+ "leaf",+ "leaves",+ "natural",+ "woods",+ "forest",+ "plant",+ "nature",+ "growth",+ "branch",+ "bokeh",+ "mobilewallpaper",+ "fresh",+ "vibrant"+ ],+ "page_views": 20,+ "page_views_raw": 20,+ "tags": "fern, green, botany, detail, leaf, leaves, natural, woods, forest, plant, nature, growth, branch, bokeh, mobile wallpaper, fresh, vibrant"+ },+ {+ "adjustedWidth": 420,+ "author_id": 100310,+ "author_name": "Bonnie Moreland",+ "author_profile": "https://stocksnap.io/author/100310",+ "author_website": "https://www.flickr.com/photos/icetsarina/",+ "downloads": 15,+ "downloads_raw": 15,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 3464,+ "img_id": "LQFB7KZAEO",+ "img_width": 5202,+ "keywords": [+ "winter",+ "lake",+ "landscape",+ "nature",+ "background",+ "beauty",+ "calm",+ "mountains",+ "day",+ "sky",+ "scenic",+ "ice",+ "trees",+ "forest",+ "weather",+ "environment",+ "climate",+ "freeze",+ "cold",+ "frozen",+ "land",+ "hdwallpaper",+ "water"+ ],+ "page_views": 30,+ "page_views_raw": 30,+ "tags": "winter, lake, landscape, nature, background, beauty, calm, mountains, day, sky, scenic, ice, trees, forest, weather, environment, climate, freeze, cold, frozen, land, hd wallpaper, water"+ },+ {+ "adjustedWidth": 373,+ "author_id": 145450,+ "author_name": "FOCA Stock",+ "author_profile": "https://stocksnap.io/author/145450",+ "author_website": "https://focastock.com/",+ "downloads": 20,+ "downloads_raw": 20,+ "favorited": false,+ "favorites": 1,+ "favorites_raw": 1,+ "img_height": 3601,+ "img_id": "KSM9UIBTQ9",+ "img_width": 4801,+ "keywords": [+ "city",+ "bridge",+ "sunset",+ "buildings",+ "water",+ "view",+ "landmark",+ "engineering",+ "architecture",+ "sky",+ "urban",+ "travel",+ "coast",+ "skyline",+ "dusk",+ "dawn",+ "cityscape",+ "scenic",+ "horizon",+ "silhouette",+ "golden",+ "clouds"+ ],+ "page_views": 55,+ "page_views_raw": 55,+ "tags": "city, bridge, sunset, buildings, water, view, landmark, engineering, architecture, sky, urban, travel, coast, skyline, dusk, dawn, cityscape, scenic, horizon, silhouette, golden, clouds"+ },+ {+ "adjustedWidth": 187,+ "author_id": 162217,+ "author_name": "Tricia Gray",+ "author_profile": "https://stocksnap.io/author/162217",+ "author_website": "https://www.instagram.com/photography.by.tricia/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 6000,+ "img_id": "ULKQ79D9JL",+ "img_width": 4000,+ "keywords": [+ "pink",+ "blossom",+ "branch",+ "nature",+ "tree",+ "background",+ "flowers",+ "floral",+ "bloom",+ "botany",+ "spring",+ "growth",+ "delicate",+ "petals",+ "natural",+ "fresh",+ "macro",+ "mobilewallpaper",+ "closeup"+ ],+ "page_views": 15,+ "page_views_raw": 15,+ "tags": "pink, blossom, branch, nature, tree, background, flowers, floral, bloom, botany, spring, growth, delicate, petals, natural, fresh, macro, mobile wallpaper, close up"+ },+ {+ "adjustedWidth": 187,+ "author_id": 111564,+ "author_name": "Matt Moloney",+ "author_profile": "https://stocksnap.io/author/111564",+ "author_website": "https://mjmolo.com/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 4000,+ "img_id": "N6UXSONLBR",+ "img_width": 2667,+ "keywords": [+ "female",+ "portrait",+ "monochrome",+ "young",+ "girl",+ "face",+ "hip",+ "youth",+ "casual",+ "fashion",+ "person",+ "woman",+ "look",+ "blackandwhite",+ "pose",+ "beauty",+ "stylish",+ "people",+ "standing"+ ],+ "page_views": 20,+ "page_views_raw": 20,+ "tags": "female, portrait, monochrome, young, girl, face, hip, youth, casual, fashion, person, woman, look, black and white, pose, beauty, stylish, people, standing"+ },+ {+ "adjustedWidth": 420,+ "author_id": 133121,+ "author_name": "World Wildlife",+ "author_profile": "https://stocksnap.io/author/133121",+ "author_website": "https://mattbango.photo/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 5113,+ "img_id": "LSDZ8EGNL5",+ "img_width": 7666,+ "keywords": [+ "bird",+ "perched",+ "closeup",+ "nature",+ "birdwatching",+ "background",+ "feathered",+ "beak",+ "eye",+ "wildlife",+ "habitat",+ "copyspace",+ "small",+ "branches",+ "california",+ "towhee"+ ],+ "page_views": 55,+ "page_views_raw": 55,+ "tags": "bird, perched, close up, nature, birdwatching, background, feathered, beak, eye, wildlife, habitat, copy space, small, branches, california, towhee"+ },+ {+ "adjustedWidth": 420,+ "author_id": 113200,+ "author_name": "Kristin Hardwick",+ "author_profile": "https://stocksnap.io/author/113200",+ "author_website": "https://www.kristinhardwick.com/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 3840,+ "img_id": "HIOJW30YKD",+ "img_width": 5760,+ "keywords": [+ "woman",+ "working",+ "business",+ "desk",+ "office",+ "female",+ "indoors",+ "technology",+ "person",+ "professional",+ "designer",+ "laptop",+ "people",+ "work",+ "online",+ "boss",+ "fashion",+ "reading",+ "black",+ "young",+ "freelance",+ "studying",+ "education",+ "typing",+ "notebook"+ ],+ "page_views": 20,+ "page_views_raw": 20,+ "tags": "woman, working, business, desk, office, female, indoors, technology, person, professional, designer, laptop, people, work, online, boss, fashion, reading, black, young, freelance, studying, education, typing, notebook"+ },+ {+ "adjustedWidth": 408,+ "author_id": 94912,+ "author_name": "Bernard Spragg",+ "author_profile": "https://stocksnap.io/author/94912",+ "author_website": "https://www.flickr.com/photos/volvob12b/",+ "downloads": 10,+ "downloads_raw": 10,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 3024,+ "img_id": "MI2GKNVXCG",+ "img_width": 4410,+ "keywords": [+ "mushroom",+ "fungus",+ "nature",+ "toxic",+ "poisonous",+ "natural",+ "dangerous",+ "fungal",+ "macro",+ "woodland",+ "plant",+ "biology",+ "woods",+ "plants",+ "fungi",+ "harvest",+ "forest",+ "closeup",+ "growing",+ "detail"+ ],+ "page_views": 30,+ "page_views_raw": 30,+ "tags": "mushroom, fungus, nature, toxic, poisonous, natural, dangerous, fungal, macro, woodland, plant, biology, woods, plants, fungi, harvest, forest, close up, growing, detail"+ },+ {+ "adjustedWidth": 373,+ "author_id": 129953,+ "author_name": "The Building Envelope",+ "author_profile": "https://stocksnap.io/author/129953",+ "author_website": "https://stocksnap.io/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 3888,+ "img_id": "EC2AWXBDGN",+ "img_width": 5184,+ "keywords": [+ "building",+ "abstract",+ "exterior",+ "modern",+ "pattern",+ "facade",+ "architecture",+ "office",+ "business",+ "commercial",+ "city",+ "windows",+ "glass",+ "structure",+ "design",+ "background",+ "frame",+ "reflection",+ "sky"+ ],+ "page_views": 25,+ "page_views_raw": 25,+ "tags": "building, abstract, exterior, modern, pattern, facade, architecture, office, business, commercial, city, windows, glass, structure, design, background, frame, reflection, sky"+ },+ {+ "adjustedWidth": 420,+ "author_id": 145556,+ "author_name": "Direct Media",+ "author_profile": "https://stocksnap.io/author/145556",+ "author_website": "https://stocksnap.io/",+ "downloads": 10,+ "downloads_raw": 10,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 5792,+ "img_id": "GKABW8BS4I",+ "img_width": 8688,+ "keywords": [+ "health",+ "care",+ "team",+ "doctor",+ "medical",+ "hospital",+ "physician",+ "together",+ "people",+ "work",+ "scrub",+ "standing",+ "male",+ "female",+ "staff",+ "nurse",+ "professional",+ "essential",+ "chart",+ "communication",+ "talking"+ ],+ "page_views": 25,+ "page_views_raw": 25,+ "tags": "health, care, team, doctor, medical, hospital, physician, together, people, work, scrub, standing, male, female, staff, nurse, professional, essential, chart, communication, talking"+ },+ {+ "adjustedWidth": 420,+ "author_id": 131445,+ "author_name": "Matt Bango",+ "author_profile": "https://stocksnap.io/author/131445",+ "author_website": "https://mattbango.photo/",+ "downloads": 5,+ "downloads_raw": 5,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 5464,+ "img_id": "VPT6IXPXNV",+ "img_width": 8192,+ "keywords": [+ "fog",+ "mountains",+ "landscape",+ "mountain",+ "valley",+ "clouds",+ "nature",+ "outdoors",+ "environment",+ "scenic",+ "forest",+ "trees",+ "foggy",+ "weather",+ "sky",+ "background",+ "monochrome"+ ],+ "page_views": 110,+ "page_views_raw": 110,+ "tags": "fog, mountains, landscape, mountain, valley, clouds, nature, outdoors, environment, scenic, forest, trees, foggy, weather, sky, background, monochrome"+ },+ {+ "adjustedWidth": 420,+ "author_id": 121424,+ "author_name": "Nature's Beauty",+ "author_profile": "https://stocksnap.io/author/121424",+ "author_website": "https://stocksnap.io/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 4000,+ "img_id": "SWRLE2MYHS",+ "img_width": 6000,+ "keywords": [+ "pink",+ "garden",+ "flower",+ "bloom",+ "fresh",+ "plants",+ "outdoors",+ "nature",+ "spring",+ "petals",+ "beautiful",+ "summer",+ "field",+ "flowers",+ "blossoms",+ "closeup",+ "floral",+ "plant",+ "growing",+ "group",+ "delicate",+ "cosmos",+ "wallpaper",+ "copyspace",+ "background"+ ],+ "page_views": 100,+ "page_views_raw": 100,+ "tags": "pink, garden, flower, bloom, fresh, plants, outdoors, nature, spring, petals, beautiful, summer, field, flowers, blossoms, close up, floral, plant, growing, group, delicate, cosmos, wallpaper, copy space, background"+ },+ {+ "adjustedWidth": 187,+ "author_id": 133875,+ "author_name": "Candace McDaniel",+ "author_profile": "https://stocksnap.io/author/133875",+ "author_website": "https://stocksnap.io/",+ "downloads": 5,+ "downloads_raw": 5,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 2048,+ "img_id": "GGZXTKVM0K",+ "img_width": 1365,+ "keywords": [+ "woman",+ "natural",+ "portrait",+ "person",+ "female",+ "hair",+ "happy",+ "model",+ "pretty",+ "attractive",+ "beauty",+ "fashion",+ "lifestyle",+ "nature",+ "outdoor",+ "smile",+ "face",+ "sunflower",+ "flowers",+ "style",+ "pose",+ "dress",+ "wall",+ "vibrant",+ "boots"+ ],+ "page_views": 55,+ "page_views_raw": 55,+ "tags": "woman, natural, portrait, person, female, hair, happy, model, pretty, attractive, beauty, fashion, lifestyle, nature, outdoor, smile, face, sunflower, flowers, style, pose, dress, wall, vibrant, boots"+ },+ {+ "adjustedWidth": 420,+ "author_id": 100310,+ "author_name": "Bonnie Moreland",+ "author_profile": "https://stocksnap.io/author/100310",+ "author_website": "https://www.flickr.com/photos/icetsarina/",+ "downloads": 10,+ "downloads_raw": 10,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 3958,+ "img_id": "2IBLTHU4UV",+ "img_width": 5937,+ "keywords": [+ "grassy",+ "landscape",+ "coast",+ "nature",+ "background",+ "sand",+ "dune",+ "scenic",+ "coastal",+ "empty",+ "nobody",+ "daytime",+ "peaceful",+ "sky",+ "clouds",+ "outdoor",+ "path",+ "hiking",+ "walk"+ ],+ "page_views": 95,+ "page_views_raw": 95,+ "tags": "grassy, landscape, coast, nature, background, sand, dune, scenic, coastal, empty, nobody, daytime, peaceful, sky, clouds, outdoor, path, hiking, walk"+ },+ {+ "adjustedWidth": 420,+ "author_id": 109728,+ "author_name": "Kelly Ishmael",+ "author_profile": "https://stocksnap.io/author/109728",+ "author_website": "https://mindingmynest.com/",+ "downloads": 5,+ "downloads_raw": 5,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 3418,+ "img_id": "T57PJUYFWM",+ "img_width": 5127,+ "keywords": [+ "succulent",+ "plant",+ "cactus",+ "leaf",+ "botanical",+ "flora",+ "garden",+ "beauty",+ "botany",+ "detail",+ "nature",+ "growth",+ "decorative",+ "flower",+ "fresh",+ "natural",+ "ornamental",+ "closeup",+ "flowerpot"+ ],+ "page_views": 80,+ "page_views_raw": 80,+ "tags": "succulent, plant, cactus, leaf, botanical, flora, garden, beauty, botany, detail, nature, growth, decorative, flower, fresh, natural, ornamental, close up, flower pot"+ },+ {+ "adjustedWidth": 420,+ "author_id": 111564,+ "author_name": "Matt Moloney",+ "author_profile": "https://stocksnap.io/author/111564",+ "author_website": "https://mjmolo.com/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 2667,+ "img_id": "KNK405GD7O",+ "img_width": 4000,+ "keywords": [+ "woman",+ "fashion",+ "model",+ "pretty",+ "beauty",+ "people",+ "female",+ "hip",+ "casual",+ "pose",+ "outdoors",+ "looking",+ "girl",+ "urban",+ "style",+ "person",+ "black",+ "wall"+ ],+ "page_views": 65,+ "page_views_raw": 65,+ "tags": "woman, fashion, model, pretty, beauty, people, female, hip, casual, pose, outdoors, looking, girl, urban, style, person, black, wall"+ },+ {+ "adjustedWidth": 373,+ "author_id": 145450,+ "author_name": "FOCA Stock",+ "author_profile": "https://stocksnap.io/author/145450",+ "author_website": "https://focastock.com/",+ "downloads": 20,+ "downloads_raw": 20,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 3417,+ "img_id": "KJNJWAK2VI",+ "img_width": 4556,+ "keywords": [+ "purple",+ "abstract",+ "background",+ "shapes",+ "design",+ "texture",+ "metallic",+ "material",+ "detail",+ "industrial",+ "textured",+ "shape",+ "shiny",+ "surface",+ "modern",+ "macro",+ "wallpaper",+ "technology",+ "backgrounds",+ "object",+ "closeup"+ ],+ "page_views": 75,+ "page_views_raw": 75,+ "tags": "purple, abstract, background, shapes, design, texture, metallic, material, detail, industrial, textured, shape, shiny, surface, modern, macro, wallpaper, technology, backgrounds, object, close up"+ },+ {+ "adjustedWidth": 420,+ "author_id": 113200,+ "author_name": "Kristin Hardwick",+ "author_profile": "https://stocksnap.io/author/113200",+ "author_website": "https://www.kristinhardwick.com/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 3840,+ "img_id": "X6SG1E5BAO",+ "img_width": 5760,+ "keywords": [+ "woman",+ "golfer",+ "golfing",+ "female",+ "person",+ "sport",+ "outdoor",+ "club",+ "playing",+ "leisure",+ "summer",+ "course",+ "play",+ "player",+ "hobby",+ "swing",+ "exercise",+ "game",+ "recreation",+ "shot",+ "active",+ "putt",+ "sand",+ "trap",+ "legs"+ ],+ "page_views": 45,+ "page_views_raw": 45,+ "tags": "woman, golfer, golfing, female, person, sport, outdoor, club, playing, leisure, summer, course, play, player, hobby, swing, exercise, game, recreation, shot, active, putt, sand, trap, legs"+ },+ {+ "adjustedWidth": 420,+ "author_id": 162217,+ "author_name": "Tricia Gray",+ "author_profile": "https://stocksnap.io/author/162217",+ "author_website": "https://www.instagram.com/photography.by.tricia/",+ "downloads": 5,+ "downloads_raw": 5,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 3216,+ "img_id": "WMF4ULR3RX",+ "img_width": 4824,+ "keywords": [+ "bird",+ "perched",+ "closeup",+ "nature",+ "birdwatching",+ "background",+ "feathered",+ "beak",+ "eye",+ "wildlife",+ "habitat",+ "feathers",+ "chickadee",+ "wild",+ "park",+ "bench",+ "tree",+ "branches"+ ],+ "page_views": 70,+ "page_views_raw": 70,+ "tags": "bird, perched, close up, nature, birdwatching, background, feathered, beak, eye, wildlife, habitat, feathers, chickadee, wild, park, bench, tree, branches"+ },+ {+ "adjustedWidth": 210,+ "author_id": 129953,+ "author_name": "The Building Envelope",+ "author_profile": "https://stocksnap.io/author/129953",+ "author_website": "https://stocksnap.io/",+ "downloads": 5,+ "downloads_raw": 5,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 3239,+ "img_id": "ILVUKFVB7J",+ "img_width": 2429,+ "keywords": [+ "building",+ "perspective",+ "city",+ "exterior",+ "corner",+ "urban",+ "daytime",+ "structure",+ "architecture",+ "facade",+ "detail",+ "design",+ "angle",+ "classic",+ "clock",+ "tower",+ "windows",+ "sky"+ ],+ "page_views": 60,+ "page_views_raw": 60,+ "tags": "building, perspective, city, exterior, corner, urban, daytime, structure, architecture, facade, detail, design, angle, classic, clock, tower, windows, sky"+ },+ {+ "adjustedWidth": 187,+ "author_id": 131445,+ "author_name": "Matt Bango",+ "author_profile": "https://stocksnap.io/author/131445",+ "author_website": "https://mattbango.photo/",+ "downloads": 5,+ "downloads_raw": 5,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 6000,+ "img_id": "2PTRSKYUR5",+ "img_width": 4000,+ "keywords": [+ "road",+ "tunnel",+ "driving",+ "mountain",+ "travel",+ "asphalt",+ "caution",+ "outdoor",+ "enter",+ "highway",+ "entrance",+ "landmark",+ "lane",+ "journey",+ "adventure"+ ],+ "page_views": 60,+ "page_views_raw": 60,+ "tags": "road, tunnel, driving, mountain, travel, asphalt, caution, outdoor, enter, highway, entrance, landmark, lane, journey, adventure"+ },+ {+ "adjustedWidth": 498,+ "author_id": 140991,+ "author_name": "JJ Skys the Limit",+ "author_profile": "https://stocksnap.io/author/140991",+ "author_website": "https://jjskysthelimit.com",+ "downloads": 30,+ "downloads_raw": 30,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 2962,+ "img_id": "N53IDRCMRC",+ "img_width": 5272,+ "keywords": [+ "waves",+ "crashing",+ "rocks",+ "coast",+ "shore",+ "water",+ "tide",+ "nature",+ "landscape",+ "ocean",+ "sea",+ "rocky",+ "wet",+ "coastline",+ "background",+ "sunset",+ "dusk",+ "flowing",+ "rocky",+ "dark",+ "deep"+ ],+ "page_views": 165,+ "page_views_raw": 165,+ "tags": "waves, crashing, rocks, coast, shore, water, tide, nature, landscape, ocean, sea, rocky, wet, coastline, background, sunset, dusk, flowing, rocky, dark, deep"+ },+ {+ "adjustedWidth": 420,+ "author_id": 149948,+ "author_name": "Family Moments",+ "author_profile": "https://stocksnap.io/author/149948",+ "author_website": "https://stocksnap.io/",+ "downloads": 5,+ "downloads_raw": 5,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 3773,+ "img_id": "1KF5JIYAEI",+ "img_width": 5660,+ "keywords": [+ "playground",+ "swing",+ "joy",+ "playful",+ "fun",+ "swinging",+ "outdoors",+ "day",+ "summer",+ "people",+ "play",+ "smiling",+ "childhood",+ "family",+ "dad",+ "father",+ "park",+ "son",+ "boy",+ "youth",+ "fatherhood",+ "mother",+ "parenting",+ "motherhood",+ "activity",+ "kids",+ "portrait"+ ],+ "page_views": 90,+ "page_views_raw": 90,+ "tags": "playground, swing, joy, playful, fun, swinging, outdoors, day, summer, people, play, smiling, childhood, family, dad, father, park, son, boy, youth, fatherhood, mother, parenting, motherhood, activity, kids, portrait"+ },+ {+ "adjustedWidth": 420,+ "author_id": 109728,+ "author_name": "Kelly Ishmael",+ "author_profile": "https://stocksnap.io/author/109728",+ "author_website": "https://mindingmynest.com/",+ "downloads": 10,+ "downloads_raw": 10,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 4171,+ "img_id": "3UOYMKB5GM",+ "img_width": 6256,+ "keywords": [+ "grass",+ "nature",+ "lawn",+ "sunset",+ "sunlight",+ "landscape",+ "natural",+ "summer",+ "background",+ "outdoors",+ "trees",+ "street",+ "environment",+ "land",+ "plants",+ "growing",+ "nobody",+ "road",+ "quiet",+ "copyspace"+ ],+ "page_views": 110,+ "page_views_raw": 110,+ "tags": "grass, nature, lawn, sunset, sunlight, landscape, natural, summer, background, outdoors, trees, street, environment, land, plants, growing, nobody, road, quiet, copy space"+ },+ {+ "adjustedWidth": 420,+ "author_id": 111564,+ "author_name": "Matt Moloney",+ "author_profile": "https://stocksnap.io/author/111564",+ "author_website": "https://mjmolo.com/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 1467,+ "img_id": "QRVWBXC99Z",+ "img_width": 2200,+ "keywords": [+ "female",+ "portrait",+ "monochrome",+ "young",+ "girl",+ "face",+ "hip",+ "youth",+ "casual",+ "fashion",+ "person",+ "woman",+ "look",+ "blackandwhite",+ "pose",+ "beauty",+ "stylish",+ "headshot",+ "people",+ "looking",+ "copyspace"+ ],+ "page_views": 80,+ "page_views_raw": 80,+ "tags": "female, portrait, monochrome, young, girl, face, hip, youth, casual, fashion, person, woman, look, black and white, pose, beauty, stylish, headshot, people, looking, copy space"+ },+ {+ "adjustedWidth": 420,+ "author_id": 162217,+ "author_name": "Tricia Gray",+ "author_profile": "https://stocksnap.io/author/162217",+ "author_website": "https://www.instagram.com/photography.by.tricia/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 3442,+ "img_id": "QP0MZDLK9N",+ "img_width": 5163,+ "keywords": [+ "tulips",+ "background",+ "flower",+ "petals",+ "nature",+ "garden",+ "spring",+ "bloom",+ "blossom",+ "flora",+ "field",+ "plants",+ "wallpaper",+ "seasonal",+ "park",+ "natural",+ "plant",+ "colorful",+ "fresh"+ ],+ "page_views": 80,+ "page_views_raw": 80,+ "tags": "tulips, background, flower, petals, nature, garden, spring, bloom, blossom, flora, field, plants, wallpaper, seasonal, park, natural, plant, colorful, fresh"+ },+ {+ "adjustedWidth": 210,+ "author_id": 129953,+ "author_name": "The Building Envelope",+ "author_profile": "https://stocksnap.io/author/129953",+ "author_website": "https://stocksnap.io/",+ "downloads": 5,+ "downloads_raw": 5,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 3755,+ "img_id": "2ZKXW2CIWJ",+ "img_width": 2816,+ "keywords": [+ "city",+ "building",+ "pattern",+ "structure",+ "architecture",+ "exterior",+ "modern",+ "design",+ "corporation",+ "abstract",+ "facade",+ "wall",+ "brick",+ "concrete",+ "sky",+ "corner",+ "windows"+ ],+ "page_views": 60,+ "page_views_raw": 60,+ "tags": "city, building, pattern, structure, architecture, exterior, modern, design, corporation, abstract, facade, wall, brick, concrete, sky, corner, windows"+ },+ {+ "adjustedWidth": 420,+ "author_id": 145556,+ "author_name": "Direct Media",+ "author_profile": "https://stocksnap.io/author/145556",+ "author_website": "https://stocksnap.io/",+ "downloads": 10,+ "downloads_raw": 10,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 5792,+ "img_id": "8OYPFEL4K8",+ "img_width": 8688,+ "keywords": [+ "male",+ "nurse",+ "hospital",+ "person",+ "man",+ "medical",+ "job",+ "scrubs",+ "health",+ "healthcare",+ "medicine",+ "occupation",+ "uniform",+ "intern",+ "adult",+ "corridor",+ "work",+ "clinic",+ "window",+ "tablet",+ "chart",+ "reading"+ ],+ "page_views": 65,+ "page_views_raw": 65,+ "tags": "male, nurse, hospital, person, man, medical, job, scrubs, health, healthcare, medicine, occupation, uniform, intern, adult, corridor, work, clinic, window, tablet, chart, reading"+ },+ {+ "adjustedWidth": 373,+ "author_id": 133121,+ "author_name": "World Wildlife",+ "author_profile": "https://stocksnap.io/author/133121",+ "author_website": "https://mattbango.photo/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 1,+ "favorites_raw": 1,+ "img_height": 3024,+ "img_id": "PQLYYYSETQ",+ "img_width": 4032,+ "keywords": [+ "animal",+ "elk",+ "nature",+ "mammal",+ "wilderness",+ "wildlife",+ "grass",+ "landscape",+ "natural",+ "large",+ "meadow",+ "grazing",+ "herd",+ "bluesky",+ "rocky",+ "terrain",+ "horizon",+ "sunlight"+ ],+ "page_views": 65,+ "page_views_raw": 65,+ "tags": "animal, elk, nature, mammal, wilderness, wildlife, grass, landscape, natural, large, meadow, grazing, herd, blue sky, rocky, terrain, horizon, sunlight"+ },+ {+ "adjustedWidth": 373,+ "author_id": 145450,+ "author_name": "FOCA Stock",+ "author_profile": "https://stocksnap.io/author/145450",+ "author_website": "https://focastock.com/",+ "downloads": 0,+ "downloads_raw": 0,+ "favorited": false,+ "favorites": 0,+ "favorites_raw": 0,+ "img_height": 3250,+ "img_id": "NFZTGHV8VP",+ "img_width": 4334,+ "keywords": [+ "street",+ "art",+ "wall",+ "paint",+ "graffiti",+ "airbrushed",+ "building",+ "urban",+ "artist",+ "exterior",+ "painting",+ "mural",+ "outdoor",+ "city",+ "colorful",+ "brick",+ "architecture",+ "drawing",+ "shapes",+ "bold"+ ],+ "page_views": 60,+ "page_views_raw": 60,+ "tags": "street, art, wall, paint, graffiti, airbrushed, building, urban, artist, exterior, painting, mural, outdoor, city, colorful, brick, architecture, drawing, shapes, bold"+ }+ ],+ "sidebarSortBySelected": "sidebarDateSelected",+ "sidebarSortOrderSelected": "sidebarDescSelected",+ "sortBy": "date",+ "sortOrder": "desc"+}diff --git a/tests/dags/providers/provider_api_scripts/resources/stocksnap/last_full_response.json b/tests/dags/providers/provider_api_scripts/resources/stocksnap/last_full_response.jsonnew file mode 100644index 000000000..3c952a1a6--- /dev/null+++ b/tests/dags/providers/provider_api_scripts/resources/stocksnap/last_full_response.json@@ -0,0 +1,703 @@+{+ "nextPage": false,+ "results": [+ {+ "adjustedWidth": 420,+ "author_id": 374,+ "author_name": "Leeroy",+ "author_profile": "https://stocksnap.io/author/374",+ "author_website": "http://www.lifeofpix.com/",+ "downloads": 163,+ "downloads_raw": 163,+ "favorited": false,+ "favorites": 2,+ "favorites_raw": 2,+ "img_height": 3840,+ "img_id": "C85E14676E",+ "img_width": 5760,+ "keywords": [+ "blue",+ "sky",+ "clouds",+ "roof",+ "lights",+ "siding"+ ],+ "page_views": "2k",+ "page_views_raw": 2014,+ "tags": "blue, sky, clouds, roof, lights, siding"+ },+ {+ "adjustedWidth": 420,+ "author_id": 401,+ "author_name": "Little Visuals",+ "author_profile": "https://stocksnap.io/author/401",+ "author_website": "http://littlevisuals.co/",+ "downloads": 159,+ "downloads_raw": 159,+ "favorited": false,+ "favorites": 2,+ "favorites_raw": 2,+ "img_height": 3744,+ "img_id": "9E1BC66890",+ "img_width": 5616,+ "keywords": [+ "farm",+ "fields",+ "hay",+ "rolls",+ "grass",+ "country",+ "sky",+ "clouds",+ "sunshine"+ ],+ "page_views": "2.2k",+ "page_views_raw": 2210,+ "tags": "farm, fields, hay, rolls, grass, country, sky, clouds, sunshine"+ },+ {+ "adjustedWidth": 420,+ "author_id": 370,+ "author_name": "Jay Mantri",+ "author_profile": "https://stocksnap.io/author/370",+ "author_website": "http://jaymantri.com/",+ "downloads": 230,+ "downloads_raw": 230,+ "favorited": false,+ "favorites": 6,+ "favorites_raw": 6,+ "img_height": 2000,+ "img_id": "91FE8F6BED",+ "img_width": 3000,+ "keywords": [+ "farm",+ "country",+ "grass",+ "fields",+ "trees",+ "mountains",+ "hills",+ "sky",+ "clouds",+ "soil",+ "agriculture"+ ],+ "page_views": "1.8k",+ "page_views_raw": 1803,+ "tags": "farm, country, grass, fields, trees, mountains, hills, sky, clouds, soil, agriculture"+ },+ {+ "adjustedWidth": 420,+ "author_id": 214,+ "author_name": "Pawe%u0142%20Wojciechowski",+ "author_profile": "https://stocksnap.io/author/214",+ "author_website": "https://stocksnap.io/author/214",+ "downloads": 120,+ "downloads_raw": 120,+ "favorited": false,+ "favorites": 2,+ "favorites_raw": 2,+ "img_height": 2554,+ "img_id": "7318A6421C",+ "img_width": 3831,+ "keywords": [+ "blue",+ "sky",+ "water",+ "ocean",+ "coast",+ "hills",+ "mountains",+ "cliffs",+ "grass",+ "outdoors",+ "view"+ ],+ "page_views": "1.8k",+ "page_views_raw": 1777,+ "tags": "blue, sky, water, ocean, coast, hills, mountains, cliffs, grass, outdoors, view"+ },+ {+ "adjustedWidth": 420,+ "author_id": 374,+ "author_name": "Leeroy",+ "author_profile": "https://stocksnap.io/author/374",+ "author_website": "http://www.lifeofpix.com/",+ "downloads": 197,+ "downloads_raw": 197,+ "favorited": false,+ "favorites": 7,+ "favorites_raw": 7,+ "img_height": 3840,+ "img_id": "DB4BF9DF23",+ "img_width": 5760,+ "keywords": [+ "buildings",+ "apartments",+ "houses",+ "windows",+ "watertanks",+ "sky",+ "stairs"+ ],+ "page_views": "2k",+ "page_views_raw": 2018,+ "tags": "buildings, apartments, houses, windows, water tanks, sky, stairs"+ },+ {+ "adjustedWidth": 420,+ "author_id": 324,+ "author_name": "Silvestri Matteo",+ "author_profile": "https://stocksnap.io/author/324",+ "author_website": "https://stocksnap.io/author/324",+ "downloads": 442,+ "downloads_raw": 442,+ "favorited": false,+ "favorites": 29,+ "favorites_raw": 29,+ "img_height": 4253,+ "img_id": "F0E00FA77D",+ "img_width": 6373,+ "keywords": [+ "country",+ "outdoors",+ "field",+ "trees",+ "flowers"+ ],+ "page_views": "2.5k",+ "page_views_raw": 2467,+ "tags": "country, outdoors, field, trees, flowers"+ },+ {+ "adjustedWidth": 474,+ "author_id": 71,+ "author_name": "Zugr",+ "author_profile": "https://stocksnap.io/author/71",+ "author_website": "https://stocksnap.io/author/71",+ "downloads": 113,+ "downloads_raw": 113,+ "favorited": false,+ "favorites": 6,+ "favorites_raw": 6,+ "img_height": 2464,+ "img_id": "07D5A61288",+ "img_width": 4168,+ "keywords": [+ "steam",+ "blur",+ "blurry"+ ],+ "page_views": "1.7k",+ "page_views_raw": 1664,+ "tags": "steam, blur, blurry"+ },+ {+ "adjustedWidth": 497,+ "author_id": 92,+ "author_name": "Marcin Czerwinski",+ "author_profile": "https://stocksnap.io/author/92",+ "author_website": "https://stocksnap.io/author/92",+ "downloads": 106,+ "downloads_raw": 106,+ "favorited": false,+ "favorites": 3,+ "favorites_raw": 3,+ "img_height": 2272,+ "img_id": "EC2C3DF318",+ "img_width": 4032,+ "keywords": [+ "rocks",+ "trees",+ "nature",+ "sky"+ ],+ "page_views": "1.6k",+ "page_views_raw": 1615,+ "tags": "rocks, trees, nature, sky"+ },+ {+ "adjustedWidth": 420,+ "author_id": 374,+ "author_name": "Leeroy",+ "author_profile": "https://stocksnap.io/author/374",+ "author_website": "http://www.lifeofpix.com/",+ "downloads": 159,+ "downloads_raw": 159,+ "favorited": false,+ "favorites": 5,+ "favorites_raw": 5,+ "img_height": 3840,+ "img_id": "78E2F4DB4D",+ "img_width": 5760,+ "keywords": [+ "blackandwhite",+ "flags",+ "string",+ "fairylights",+ "ropes",+ "sailboat",+ "sky",+ "clouds"+ ],+ "page_views": "2.1k",+ "page_views_raw": 2101,+ "tags": "black and white, flags, string, fairy lights, ropes, sailboat, sky, clouds"+ },+ {+ "adjustedWidth": 422,+ "author_id": 183,+ "author_name": "Victoria Alexander",+ "author_profile": "https://stocksnap.io/author/183",+ "author_website": "https://stocksnap.io/author/183",+ "downloads": 184,+ "downloads_raw": 184,+ "favorited": false,+ "favorites": 16,+ "favorites_raw": 16,+ "img_height": 3368,+ "img_id": "BE7A7709D0",+ "img_width": 5072,+ "keywords": [+ "sky",+ "sunset",+ "birds",+ "flying",+ "pier",+ "wood",+ "dock",+ "water",+ "ocean",+ "beach",+ "waves",+ "boat",+ "paddle",+ "kayak",+ "canoe"+ ],+ "page_views": "2.5k",+ "page_views_raw": 2499,+ "tags": "sky, sunset, birds, flying, pier, wood, dock, water, ocean, beach, waves, boat, paddle, kayak, canoe"+ },+ {+ "adjustedWidth": 420,+ "author_id": 399,+ "author_name": "Ryan McGuire",+ "author_profile": "https://stocksnap.io/author/399",+ "author_website": "https://www.gratisography.com/",+ "downloads": 128,+ "downloads_raw": 128,+ "favorited": false,+ "favorites": 3,+ "favorites_raw": 3,+ "img_height": 2848,+ "img_id": "AAE9CDD90F",+ "img_width": 4272,+ "keywords": [+ "building",+ "concrete",+ "wall",+ "window",+ "sillbars",+ "arches",+ "architecture"+ ],+ "page_views": "2.1k",+ "page_views_raw": 2130,+ "tags": "building, concrete, wall, window, sill bars, arches, architecture"+ },+ {+ "adjustedWidth": 420,+ "author_id": 399,+ "author_name": "Ryan McGuire",+ "author_profile": "https://stocksnap.io/author/399",+ "author_website": "https://www.gratisography.com/",+ "downloads": "1.3k",+ "downloads_raw": 1280,+ "favorited": false,+ "favorites": 51,+ "favorites_raw": 51,+ "img_height": 3244,+ "img_id": "611E343F6D",+ "img_width": 4866,+ "keywords": [+ "laundry",+ "laundromat",+ "washingmachine",+ "dryer",+ "clothes",+ "dirty",+ "shoes",+ "jeans",+ "pants"+ ],+ "page_views": "9.7k",+ "page_views_raw": 9732,+ "tags": "laundry, laundromat, washing machine, dryer, clothes, dirty, shoes, jeans, pants"+ },+ {+ "adjustedWidth": 420,+ "author_id": 97,+ "author_name": "Jonas Nilsson Lee",+ "author_profile": "https://stocksnap.io/author/97",+ "author_website": "http://cupcake.nilssonlee.se/",+ "downloads": 277,+ "downloads_raw": 277,+ "favorited": false,+ "favorites": 9,+ "favorites_raw": 9,+ "img_height": 3648,+ "img_id": "73DB311750",+ "img_width": 5472,+ "keywords": [+ "clear",+ "blue",+ "sky",+ "boat",+ "yacht",+ "water",+ "sea",+ "ocean"+ ],+ "page_views": "2.4k",+ "page_views_raw": 2431,+ "tags": "clear, blue, sky, boat, yacht, water, sea, ocean"+ },+ {+ "adjustedWidth": 420,+ "author_id": 374,+ "author_name": "Leeroy",+ "author_profile": "https://stocksnap.io/author/374",+ "author_website": "http://www.lifeofpix.com/",+ "downloads": 256,+ "downloads_raw": 256,+ "favorited": false,+ "favorites": 4,+ "favorites_raw": 4,+ "img_height": 3840,+ "img_id": "DC94B8A35A",+ "img_width": 5760,+ "keywords": [+ "buildings",+ "towers",+ "highrise",+ "architecture",+ "city",+ "urban",+ "sky",+ "windows"+ ],+ "page_views": "1.8k",+ "page_views_raw": 1778,+ "tags": "buildings, towers, high rise, architecture, city, urban, sky, windows"+ },+ {+ "adjustedWidth": 424,+ "author_id": 402,+ "author_name": "Skitter Photo",+ "author_profile": "https://stocksnap.io/author/402",+ "author_website": "http://skitterphoto.com",+ "downloads": 144,+ "downloads_raw": 144,+ "favorited": false,+ "favorites": 5,+ "favorites_raw": 5,+ "img_height": 1730,+ "img_id": "91B6CA54D4",+ "img_width": 2618,+ "keywords": [+ "spider",+ "web"+ ],+ "page_views": "2k",+ "page_views_raw": 1951,+ "tags": "spider, web"+ },+ {+ "adjustedWidth": 420,+ "author_id": 163,+ "author_name": "Anders%20Jild%E9n",+ "author_profile": "https://stocksnap.io/author/163",+ "author_website": "https://stocksnap.io/author/163",+ "downloads": 333,+ "downloads_raw": 333,+ "favorited": false,+ "favorites": 16,+ "favorites_raw": 16,+ "img_height": 2000,+ "img_id": "E886E0DE11",+ "img_width": 3000,+ "keywords": [+ "dark",+ "night",+ "purple",+ "lights",+ "bridge",+ "city",+ "skyline",+ "view",+ "buildings",+ "water",+ "architecture",+ "evening"+ ],+ "page_views": "2.2k",+ "page_views_raw": 2176,+ "tags": "dark, night, purple, lights, bridge, city, skyline, view, buildings, water, architecture, evening"+ },+ {+ "adjustedWidth": 420,+ "author_id": 97,+ "author_name": "Jonas Nilsson Lee",+ "author_profile": "https://stocksnap.io/author/97",+ "author_website": "http://cupcake.nilssonlee.se/",+ "downloads": 373,+ "downloads_raw": 373,+ "favorited": false,+ "favorites": 10,+ "favorites_raw": 10,+ "img_height": 3464,+ "img_id": "FF876E4154",+ "img_width": 5196,+ "keywords": [+ "newyork",+ "blue",+ "sky",+ "clouds",+ "city",+ "buildings",+ "skyscrapers",+ "water",+ "boats",+ "yacths",+ "skyline",+ "architecture"+ ],+ "page_views": "2.5k",+ "page_views_raw": 2469,+ "tags": "new york, blue, sky, clouds, city, buildings, skyscrapers, water, boats, yacths, skyline, architecture"+ },+ {+ "adjustedWidth": 210,+ "author_id": 410,+ "author_name": "Stephanie Herington",+ "author_profile": "https://stocksnap.io/author/410",+ "author_website": "https://stocksnap.io/author/410",+ "downloads": 620,+ "downloads_raw": 620,+ "favorited": false,+ "favorites": 31,+ "favorites_raw": 31,+ "img_height": 3264,+ "img_id": "53865D854B",+ "img_width": 2448,+ "keywords": [+ "peppers",+ "vegetables",+ "red",+ "yellow",+ "orange",+ "seeds",+ "wood"+ ],+ "page_views": "3.3k",+ "page_views_raw": 3279,+ "tags": "peppers, vegetables, red, yellow, orange, seeds, wood"+ },+ {+ "adjustedWidth": 420,+ "author_id": 224,+ "author_name": "Patryk Sobczak",+ "author_profile": "https://stocksnap.io/author/224",+ "author_website": "https://stocksnap.io/author/224",+ "downloads": 589,+ "downloads_raw": 589,+ "favorited": false,+ "favorites": 30,+ "favorites_raw": 30,+ "img_height": 1333,+ "img_id": "B1CD3921D5",+ "img_width": 2000,+ "keywords": [+ "dark",+ "grey",+ "sky",+ "water",+ "beach",+ "sand",+ "shore",+ "hoodie",+ "boy",+ "guy",+ "man",+ "sweater",+ "sea",+ "ocean"+ ],+ "page_views": "5k",+ "page_views_raw": 4957,+ "tags": "dark, grey, sky, water, beach, sand, shore, hoodie, boy, guy, man, sweater, sea, ocean"+ },+ {+ "adjustedWidth": 420,+ "author_id": 370,+ "author_name": "Jay Mantri",+ "author_profile": "https://stocksnap.io/author/370",+ "author_website": "http://jaymantri.com/",+ "downloads": 148,+ "downloads_raw": 148,+ "favorited": false,+ "favorites": 7,+ "favorites_raw": 7,+ "img_height": 1467,+ "img_id": "7D95B4AD53",+ "img_width": 2200,+ "keywords": [+ "beach",+ "sand",+ "water",+ "waves",+ "ocean",+ "sea",+ "storm",+ "clouds",+ "sky",+ "mountains"+ ],+ "page_views": "1.8k",+ "page_views_raw": 1795,+ "tags": "beach, sand, water, waves, ocean, sea, storm, clouds, sky, mountains"+ },+ {+ "adjustedWidth": 375,+ "author_id": 403,+ "author_name": "Jeffrey Betts",+ "author_profile": "https://stocksnap.io/author/403",+ "author_website": "https://mmtstock.com/",+ "downloads": 96,+ "downloads_raw": 96,+ "favorited": false,+ "favorites": 6,+ "favorites_raw": 6,+ "img_height": 1936,+ "img_id": "F0E2FC5678",+ "img_width": 2592,+ "keywords": [+ "subway",+ "station",+ "transport",+ "signs"+ ],+ "page_views": "1.7k",+ "page_views_raw": 1679,+ "tags": "subway, station, transport, signs"+ },+ {+ "adjustedWidth": 420,+ "author_id": 402,+ "author_name": "Skitter Photo",+ "author_profile": "https://stocksnap.io/author/402",+ "author_website": "http://skitterphoto.com",+ "downloads": 154,+ "downloads_raw": 154,+ "favorited": false,+ "favorites": 2,+ "favorites_raw": 2,+ "img_height": 3979,+ "img_id": "CF9BC6D9B6",+ "img_width": 5969,+ "keywords": [+ "ocean",+ "sea",+ "water",+ "coast",+ "rocks",+ "sky",+ "sunset",+ "clouds",+ "dusk"+ ],+ "page_views": "1.6k",+ "page_views_raw": 1583,+ "tags": "ocean, sea, water, coast, rocks, sky, sunset, clouds, dusk"+ },+ {+ "adjustedWidth": 417,+ "author_id": 402,+ "author_name": "Skitter Photo",+ "author_profile": "https://stocksnap.io/author/402",+ "author_website": "http://skitterphoto.com",+ "downloads": 238,+ "downloads_raw": 238,+ "favorited": false,+ "favorites": 4,+ "favorites_raw": 4,+ "img_height": 2889,+ "img_id": "6A619D0F9C",+ "img_width": 4305,+ "keywords": [+ "fireworks",+ "bottle",+ "night",+ "dark"+ ],+ "page_views": "2.2k",+ "page_views_raw": 2201,+ "tags": "fireworks, bottle, night, dark"+ },+ {+ "adjustedWidth": 497,+ "author_id": 92,+ "author_name": "Marcin Czerwinski",+ "author_profile": "https://stocksnap.io/author/92",+ "author_website": "https://stocksnap.io/author/92",+ "downloads": 122,+ "downloads_raw": 122,+ "favorited": false,+ "favorites": 9,+ "favorites_raw": 9,+ "img_height": 2272,+ "img_id": "3A57C827C4",+ "img_width": 4032,+ "keywords": [+ "green",+ "nature",+ "trees",+ "grass"+ ],+ "page_views": "2k",+ "page_views_raw": 1956,+ "tags": "green, nature, trees, grass"+ },+ {+ "adjustedWidth": 420,+ "author_id": 399,+ "author_name": "Ryan McGuire",+ "author_profile": "https://stocksnap.io/author/399",+ "author_website": "https://www.gratisography.com/",+ "downloads": 589,+ "downloads_raw": 589,+ "favorited": false,+ "favorites": 36,+ "favorites_raw": 36,+ "img_height": 2848,+ "img_id": "ACEC27F085",+ "img_width": 4272,+ "keywords": [+ "old",+ "vintage",+ "book",+ "page",+ "burned",+ "letters",+ "wood"+ ],+ "page_views": "3.3k",+ "page_views_raw": 3268,+ "tags": "old, vintage, book, page, burned, letters, wood"+ }+ ],+ "sidebarSortBySelected": "sidebarDateSelected",+ "sidebarSortOrderSelected": "sidebarDescSelected"+}diff --git a/tests/dags/providers/provider_api_scripts/test_stocksnap.py b/tests/dags/providers/provider_api_scripts/test_stocksnap.pyindex a5eb0943e..00ccba81f 100644--- a/tests/dags/providers/provider_api_scripts/test_stocksnap.py+++ b/tests/dags/providers/provider_api_scripts/test_stocksnap.py@@ -4,7 +4,9 @@ import osfrom unittest.mock import patchfrom common.licenses import get_license_info-from providers.provider_api_scripts import stocksnap+from common.loader import provider_details as prov+from common.storage.image import ImageStore+from providers.provider_api_scripts.stocksnap import StockSnapDataIngesterRESOURCES = os.path.join(@@ -17,42 +19,121 @@ logging.basicConfig()-def test_get_image_pages_returns_correctly_with_none_json():+stocksnap = StockSnapDataIngester()+image_store = ImageStore(provider=prov.STOCKSNAP_DEFAULT_PROVIDER)+stocksnap.media_stores = {"image": image_store}+++def _get_resource_json(json_name):+ with open(os.path.join(RESOURCES, json_name)) as f:+ resource_json = json.load(f)+ return resource_json+++def test_get_media_type():+ expect_result = "image"+ actual_result = stocksnap.get_media_type(_get_resource_json("full_item.json"))+ assert expect_result == actual_result+++def test_endpoint_with_initialized_page_counter():+ expect_result = "https://stocksnap.io/api/load-photos/date/desc/0"+ actual_result = stocksnap.endpoint+ assert expect_result == actual_result+++def test_get_batch_data_returns_correctly_with_none_json():expect_result = None- with patch.object(- stocksnap.delayed_requester, "get_response_json", return_value=None- ):- actual_result = stocksnap._get_batch_json()+ actual_result = stocksnap.get_batch_data(None)assert actual_result == expect_result-def test_get_image_pages_returns_correctly_with_no_results():+def test_get_batch_data_returns_correctly_with_no_results():expect_result = None- with patch.object(- stocksnap.delayed_requester, "get_response_json", return_value={}- ):- actual_result = stocksnap._get_batch_json()+ actual_result = stocksnap.get_batch_data({})assert actual_result == expect_result-def test_extract_image_data_returns_none_when_media_data_none():- actual_image_info = stocksnap._extract_item_data(None)+def test_get_batch_data_returns_correctly_with_full_response():+ actual_result = stocksnap.get_batch_data(_get_resource_json("full_response.json"))+ assert isinstance(actual_result, list)+ assert len(actual_result) == 40+ assert actual_result[0] == {+ "img_id": "OAJ3645ZWF",+ "tags": "flower, blossom, macro, close up, fresh, petals, flora, floral, plants, organic, natural, spring, bloom, minimal, background, wallpaper, texture, pattern, delicate, detail, botanical, magnolia",+ "page_views": 25,+ "downloads": 5,+ "favorites": 0,+ "img_width": 6000,+ "img_height": 4000,+ "author_name": "Macro Mama",+ "author_id": 125683,+ "author_website": "https://stocksnap.io/",+ "author_profile": "https://stocksnap.io/author/125683",+ "adjustedWidth": 420,+ "page_views_raw": 25,+ "downloads_raw": 5,+ "favorites_raw": 0,+ "keywords": [+ "flower",+ "blossom",+ "macro",+ "closeup",+ "fresh",+ "petals",+ "flora",+ "floral",+ "plants",+ "organic",+ "natural",+ "spring",+ "bloom",+ "minimal",+ "background",+ "wallpaper",+ "texture",+ "pattern",+ "delicate",+ "detail",+ "botanical",+ "magnolia",+ ],+ "favorited": False,+ }+++def test_process_batch():+ expect_result = 40+ actual_result = stocksnap.process_batch(+ stocksnap.get_batch_data(_get_resource_json("full_response.json"))+ )+ assert expect_result == actual_result+++def test_endpoint_increment():+ expect_result = (None, "https://stocksnap.io/api/load-photos/date/desc/1")+ query_params = stocksnap.get_next_query_params(None)+ next_endpoint = stocksnap.endpoint+ actual_result = (query_params, next_endpoint)+ assert expect_result == actual_result+++def test_get_record_data_returns_none_when_media_data_none():+ actual_image_info = stocksnap.get_record_data(None)expected_image_info = Noneassert actual_image_info is expected_image_info-def test_extract_image_data_returns_none_when_no_foreign_id():- with open(os.path.join(RESOURCES, "full_item.json")) as f:- image_data = json.load(f)- image_data.pop("img_id", None)- actual_image_info = stocksnap._extract_item_data(image_data)+def test_get_record_data_returns_none_when_no_foreign_id():+ image_data = _get_resource_json("full_item.json")+ image_data.pop("img_id", None)+ actual_image_info = stocksnap.get_record_data(image_data)expected_image_info = Noneassert actual_image_info is expected_image_infodef test_get_creator_data():- with open(os.path.join(RESOURCES, "full_item.json")) as f:- img_data = json.load(f)+ img_data = _get_resource_json("full_item.json")expected_creator = "Matt Moloney"expected_creator_url = "https://mjmolo.com/"@@ -62,8 +143,7 @@ def test_get_creator_data():def test_get_creator_data_handles_no_url():- with open(os.path.join(RESOURCES, "full_item.json")) as f:- img_data = json.load(f)+ img_data = _get_resource_json("full_item.json")img_data.pop("author_website")img_data.pop("author_profile")expected_creator = "Matt Moloney"@@ -74,8 +154,7 @@ def test_get_creator_data_handles_no_url():def test_get_creator_data_returns_stocksnap_author_profile():- with open(os.path.join(RESOURCES, "full_item.json")) as f:- img_data = json.load(f)+ img_data = _get_resource_json("full_item.json")img_data["author_website"] = "https://stocksnap.io/"expected_creator = "Matt Moloney"expected_creator_url = "https://stocksnap.io/author/111564"@@ -86,27 +165,26 @@ def test_get_creator_data_returns_stocksnap_author_profile():def test_get_creator_data_returns_none_when_no_author():- with open(os.path.join(RESOURCES, "full_item.json")) as f:- img_data = json.load(f)+ img_data = _get_resource_json("full_item.json")img_data.pop("author_name")actual_creator, actual_creator_url = stocksnap._get_creator_data(img_data)assert actual_creator is Noneassert actual_creator_url is None-def test_extract_image_data_handles_example_dict():+def test_get_record_data_handles_example_dict():with open(os.path.join(RESOURCES, "full_item.json")) as f:image_data = json.load(f)with patch.object(stocksnap, "_get_filesize", return_value=123456):- actual_image_info = stocksnap._extract_item_data(image_data)+ actual_image_info = stocksnap.get_record_data(image_data)image_url = "https://cdn.stocksnap.io/img-thumbs/960w/7VAQUG1X3B.jpg"expected_image_info = {- "title": "Female Fitness Photo",+ "title": "Female Fitness","creator": "Matt Moloney","creator_url": "https://mjmolo.com/","foreign_identifier": "7VAQUG1X3B",- "foreign_landing_url": "https://stocksnap.io/photo/7VAQUG1X3B",+ "foreign_landing_url": "https://stocksnap.io/photo/female-fitness-7VAQUG1X3B","license_info": get_license_info(license_url="https://creativecommons.org/publicdomain/zero/1.0/"),@@ -152,6 +230,22 @@ def test_extract_image_data_handles_example_dict():assert actual_image_info == expected_image_info+def test_get_should_continue_first_response():+ expect_result = True+ actual_result = stocksnap.get_should_continue(+ _get_resource_json("full_response.json")+ )+ assert expect_result == actual_result+++def test_get_should_continue_last_response():+ expect_result = False+ actual_result = stocksnap.get_should_continue(+ _get_resource_json("last_full_response.json")+ )+ assert expect_result == actual_result++def test_get_image_tags():item_data = {"keywords": [