{"id":22978272,"url":"https://github.com/sgtfloyd/tcgplayer_api","last_synced_at":"2025-04-02T08:42:28.061Z","repository":{"id":27189840,"uuid":"30660082","full_name":"sgtFloyd/tcgplayer_api","owner":"sgtFloyd","description":"Ruby interface for TCGplayer's pricing API","archived":false,"fork":false,"pushed_at":"2017-03-02T17:37:19.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T13:36:21.572Z","etag":null,"topics":["api-wrapper","magic-the-gathering","mtg","ruby","ruby-gem"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sgtFloyd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-11T17:26:32.000Z","updated_at":"2021-06-26T18:04:41.000Z","dependencies_parsed_at":"2022-07-24T14:02:03.213Z","dependency_job_id":null,"html_url":"https://github.com/sgtFloyd/tcgplayer_api","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/sgtFloyd%2Ftcgplayer_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgtFloyd%2Ftcgplayer_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgtFloyd%2Ftcgplayer_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgtFloyd%2Ftcgplayer_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sgtFloyd","download_url":"https://codeload.github.com/sgtFloyd/tcgplayer_api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246785418,"owners_count":20833471,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-wrapper","magic-the-gathering","mtg","ruby","ruby-gem"],"created_at":"2024-12-15T01:18:15.239Z","updated_at":"2025-04-02T08:42:28.037Z","avatar_url":"https://github.com/sgtFloyd.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Hi-Mid-Low Price API\n\n***Set name and product name must match the information in the TCGPlayer store in order to receive results.***\n\n**URL:**  \n`GET http://partner.tcgplayer.com/x3/phl.asmx/p`\n\n**Params:**\n- pk: Partner Key, *required*\n- p: Product Name, *required*\n- s: Set Name, *optional*\n\n*If `s` is left blank, return the cheapest price across all sets.*\n\n**Example Response:**\n```xml\n\u003cproducts\u003e\n  \u003cproduct\u003e\n    \u003cid\u003e39515\u003c/id\u003e\n    \u003chiprice\u003e0.48\u003c/hiprice\u003e\n    \u003clowprice\u003e0.02\u003c/lowprice\u003e\n    \u003cavgprice\u003e0.12\u003c/avgprice\u003e\n    \u003cfoilavgprice\u003e0.25\u003c/foilavgprice\u003e\n    \u003clink\u003ehttp://store.tcgplayer.com/magic/new-phyrexia/flameborn-viron?partner=TCGTEST\u003c/link\u003e\n  \u003c/product\u003e\n\u003c/products\u003e\n```\n\n## Store Price API:\n\n**URL:**  \n`GET http://partner.tcgplayer.com/x3/pv.asmx/p`\n\n**Params:**\n- pk: Partner Key, *required*\n- p: Product Name, *required*\n- s: Set Name, *required*\n- v: Number of the vendors to return, *optional, max: 8*\n\n*For multiple pricing or deck collection inquires we request that once per day between 3:00am - 7:00am EST you pull down all pricing for all products on TCGplayer that you will be listing on your site / app. You are responsible for storing this pricing in your own database, as your database is what should be used for pricing of decks, collections or any inquiry within that 24hr period that requires more than one price inquiry at at time.*\n\n**Example Response:**\n```xml\n\u003cprices\u003e\n  \u003csupplier\u003e\n    \u003cname\u003eStoreNameHere\u003c/name\u003e\n    \u003ccondition\u003eUnplayed\u003c/condition\u003e\n    \u003cqty\u003e40\u003c/qty\u003e\n    \u003cprice\u003e.04\u003c/price\u003e\n    \u003clink\u003ehttp://store.tcgplayer.com/shoppingcart.aspx?id=18999757\u0026q=1\u0026partner=tcgtest\u003c/link\u003e\n  \u003c/supplier\u003e\n  \u003cnote\u003e\u003cb\u003eStore.TCGplayer.com\u003c/b\u003e allows you to buy cards from any of our vendors, all at the same time, in a simple checkout experience. Shop, Compare \u0026 Save with TCGplayer.com!\u003cbr\u003e\u003cbr\u003e(Earn money and receive full Pricing \u0026 Card data for your App/Site by \u003ca href=\"http://store.tcgplayer.com/\"\u003eContacting TCGplayer\u003c/a\u003e)\u003c/note\u003e\n\u003c/prices\u003e\n```\n\n*The note section must be displayed under the pricing data in some format without any wording changes. This message will change periodically to promote different items, such as Presales. But all links from within the notes section will reflect your Partner code for sales tracking.*\n\n## Mass Entry API\n**URL:**  \n`POST http://store.tcgplayer.com/list/selectproductmagic.aspx`\n\n**Params:**\n- pk: Partner Key, *required*\n- c: List of card names and quantities delimited by `||`, *required*  \n*Ex: `4 Squadron Hawk||4 Stoneforge Mystic||1 Batterskull`*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgtfloyd%2Ftcgplayer_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgtfloyd%2Ftcgplayer_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgtfloyd%2Ftcgplayer_api/lists"}