{"id":18750358,"url":"https://github.com/ntia/pythonflickrtools","last_synced_at":"2025-04-12T23:31:59.957Z","repository":{"id":78086813,"uuid":"42263604","full_name":"NTIA/pythonFlickrTools","owner":"NTIA","description":"This project contains Python command-line tools that act as a convenient wrapper for the flickr API and may serve as the basis for an interface between the flickr API and a \"local\" image database.","archived":false,"fork":false,"pushed_at":"2016-11-07T19:31:41.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T18:02:33.756Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NTIA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-10T18:43:54.000Z","updated_at":"2024-11-27T17:24:11.000Z","dependencies_parsed_at":"2023-03-08T23:15:31.902Z","dependency_job_id":null,"html_url":"https://github.com/NTIA/pythonFlickrTools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NTIA%2FpythonFlickrTools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NTIA%2FpythonFlickrTools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NTIA%2FpythonFlickrTools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NTIA%2FpythonFlickrTools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NTIA","download_url":"https://codeload.github.com/NTIA/pythonFlickrTools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647257,"owners_count":21139081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T17:11:31.965Z","updated_at":"2025-04-12T23:31:59.946Z","avatar_url":"https://github.com/NTIA.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Flickr Tools\n\nThis project is a Python command-line tool that acts as a convenient wrapper for the flickr API and may serve as a basis for an interface between the flickr API and a \"local\" image database.\n\n## Dependencies\n\n* `wget` Python package: https://pypi.python.org/pypi/wget/\n* Python Flickr API kit: http://stuvel.eu/flickrapi\n* `urllib3` Python package: https://pypi.python.org/pypi/urllib3\n\nAll are available on `pip`. Use `pip install \u003cpackage_name\u003e` to install.\n\n## flickr API Key\n\nIn order to make use of this software you will need an API key and secret. In oder to get these credentials, you need to [register an app with flickr](https://www.flickr.com/services/apps/create/). Then populate the file `apikeys.py` with the credentials and you should be off to the races.\n\n## Usage\n\n`usage: getFlickrImages.py [-h] [--setID SETID] [--groupNo GROUPNO]\n                          [--flickrMTNS FLICKRMTNS] [--flickrMTP FLICKRMTP]\n                          [--numPhotos NUMPHOTOS] [--photoSize PHOTOSIZE]\n                          [--autoCull]`\n\n`download requested images from flickr based on requested parameters.`\n\n*  -h, --help  show this help message and exit\n*  --setID SETID  specify flickr set ID. if setID is specified you may not specify a group number.\n*  --groupNo GROUPNO  specify flickr set group number. if group number is specified you may not specify a setID.\n*  --flickrMTNS FLICKRMTNS  specify flickr machine tag name space. if MTNS is specified, you must specify a name space predicate (flickrMTP) as well.\n*  --flickrMTP FLICKRMTP  specify flickr machine tage predicate. this argument is required if a flickrMTNS is specified.\n*  --numPhotos NUMPHOTOS  specify the number of images to download (or use \"all\" to download all available images)---default is all images\n*  --photoSize PHOTOSIZE  specify the size of the image to download from flickr. valid options: `Square`, `Large_1600`, `Small_320`, `Original`, `Large`, `Medium`, `Medium_640`, `Large_Square`, `Medium_800`, `Small`, `Large_2048`, `Thumbnail`\n*  --autoCull  specify whether or not to remove images from the local system if it is also removed from the server OR whether to remove images when the number of images on the local system exceeds numPhotos. Default is false.\n\n## Legal\nTHE NATIONAL TELECOMMUNICATIONS AND INFORMATION ADMINISTRATION, INSTITUTE \nFOR TELECOMMUNICATION SCIENCES (\"NTIA/ITS\") DOES NOT MAKE ANY WARRANTY OF \nANY KIND, EXPRESS, IMPLIED OR STATUTORY, INCLUDING, WITHOUT LIMITATION, \nTHE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, \nNON-INFRINGEMENT AND DATA ACCURACY.  THIS SOFTWARE IS PROVIDED \"AS IS.\"  \nNTIA/ITS does not warrant or make any representations regarding the use of \nthe software or the results thereof, including but not limited to the \ncorrectness, accuracy, reliability or usefulness of the software or the \nresults.\n\nYou can use, copy, modify, and redistribute the NTIA/ITS developed \nsoftware upon your acceptance of these terms and conditions and upon your \nexpress agreement to provide appropriate acknowledgments of NTIA's \nownership of and development of the software by keeping this exact text \npresent in any copied or derivative works.\n\nThe user of this Software (\"Collaborator\") agrees to hold the U.S. \nGovernment harmless and indemnifies the U.S. Government for all \nliabilities, demands, damages, expenses, and losses arising out of\nthe use by the Collaborator, or any party acting on its behalf, of \nNTIA/ITS' Software, or out of any use, sale, or other disposition by the \nCollaborator, or others acting on its behalf, of products made\nby the use of NTIA/ITS' Software.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntia%2Fpythonflickrtools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fntia%2Fpythonflickrtools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntia%2Fpythonflickrtools/lists"}