{"id":16444901,"url":"https://github.com/jaymon/wishlist","last_synced_at":"2025-10-27T07:05:12.185Z","repository":{"id":56263982,"uuid":"67201364","full_name":"Jaymon/wishlist","owner":"Jaymon","description":"Read an Amazon wishlist programmatically with Python","archived":false,"fork":false,"pushed_at":"2023-05-18T20:55:39.000Z","size":362,"stargazers_count":54,"open_issues_count":10,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-20T10:06:03.242Z","etag":null,"topics":["amazon","amazon-wishlist","api","crawler","python","scraper"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jaymon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-02T07:37:20.000Z","updated_at":"2025-01-13T07:03:30.000Z","dependencies_parsed_at":"2024-06-21T13:09:28.002Z","dependency_job_id":"02870e98-0574-4052-80ca-5778c8c0533c","html_url":"https://github.com/Jaymon/wishlist","commit_stats":{"total_commits":71,"total_committers":5,"mean_commits":14.2,"dds":"0.11267605633802813","last_synced_commit":"f3ffac4de30d96b43fc1e112fa4f2b134ae72017"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaymon%2Fwishlist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaymon%2Fwishlist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaymon%2Fwishlist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jaymon%2Fwishlist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jaymon","download_url":"https://codeload.github.com/Jaymon/wishlist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243823682,"owners_count":20353712,"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":["amazon","amazon-wishlist","api","crawler","python","scraper"],"created_at":"2024-10-11T09:42:32.359Z","updated_at":"2025-10-27T07:05:07.117Z","avatar_url":"https://github.com/Jaymon.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wishlist\n\nPython library to grab your Amazon wishlist so you can mess with it programmatically.\n\n\n## Dependencies\n\n### What do I need if I have a private wishlist?\n\nWishlist depends on [Brow](https://github.com/Jaymon/brow) in order to login from the command line (including 2 factor if enabled), and Brow depends on Selenium and Firefox to be installed, so you'll need to read [Brow's README](https://github.com/Jaymon/brow/blob/master/README.md) if you need help installing those on Linux.\n\n\n### What do I need if I have a public wishlist?\n\nNothing special, `pip install wishlist` should cover you, jump down to \"Commandline wishlist access\" and get started.\n\n\n## 1 minute getting started\n\n\n### Authentication for private lists\n\nIs your wishlist private? Then you will need to authenticate on the command line:\n\n    $ wishlist auth\n\nThis will prompt you to signin and will even handle 2-factor authentication, after you signin your cookies will be saved so you can access your Amazon wishlist on the command line.\n\n\n### Commandline wishlist access\n\nYou can check access to your wishlist on the command line by running:\n\n    $ wishlist dump NAME\n\nwhere `NAME` is the part of a url like `https://www.amazon.com/gp/registry/wishlist/NAME`, so, if your wishlist was found at: `https://www.amazon.com/gp/registry/wishlist/9YDNFG31NSSRL` then you would run:\n\n    $ wishlist dump 9YDNFG31NSSRL\n\n\n### Programmatic wishlist access\n\nIf you wanted to do something in another python script, you can do:\n\n```python\nfrom wishlist.core import Wishlist\n\nname = \"9YDNFG31NSSRL\"\nw = Wishlist(name)\nfor item in w:\n    print(item.jsonable())\n```\n\nYou can check the [wishlist.core.WishlistElement](https://github.com/Jaymon/wishlist/blob/master/wishlist/core.py) code to understand the structure of each wishlist item.\n\n\n## Installation\n\nuse pip:\n\n    $ pip install wishlist\n\nTo get the bleeding edge version:\n\n    $ pip install --upgrade \"git+https://github.com/Jaymon/wishlist#egg=wishlist\"\n\n\n## Regions\n\nTo change Amazon region from the default (amazon.com) to another (e.g. amazon.co.uk) just set the environment variable WISHLIST_HOST, for example:\n\n```\nexport WISHLIST_HOST=https://amazon.co.uk\n```\n\nThe environment is setup at module import, so if you need to modify the environment during runtime you should use `wishlist.environ`, so to set the host at runtime, you could do something like:\n\n```python\nfrom wishlist.core import Wishlist\nfrom wishlist import environ\n\nenviron.HOST=\"https://www.amazon.fr\"\n```\n\n\n## Other things\n\n* Why are you using Firefox for logging in? Why not Chrome? I tried to get it to work in headless Chrome but all the features I needed to work out authentication on the command line weren't supported.\n\n* Would you rather use php? [There's a library for that](https://github.com/doitlikejustin/amazon-wish-lister) ([also related](https://shkspr.mobi/blog/2015/11/an-api-for-amazon-wishlists/)).\n\n* [Amazon's advertising api](http://docs.aws.amazon.com/AWSECommerceService/latest/DG/Welcome.html) is where the officially supported wishlist api used to live.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaymon%2Fwishlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaymon%2Fwishlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaymon%2Fwishlist/lists"}