View Full Version : Playershops API
Haldrik
07-04-2016, 05:51 PM
Heyo,
Does anyone know if there an API to download item data from the playershops? Or any other way? I don't want to scrape the pages and I'm sure Tillmen doesn't want that either!
Thanks!
Tillmen
08-07-2016, 06:26 PM
I just added something that may or may not help you.
https://ps.lichproject.org/data will now give you a list of xml files currently in effect (if they were uploaded after right now), meaning the most recent full update for a town and all the partial updates that came after that. It's just the filenames separated by new lines, such as:
Gemstone_Prime/Icemule_Trace/1470607789.xml.gz
Gemstone_Prime/Solhaven/1470599343.xml.gz
etc
You can download the files by sticking "https://ps.lichproject.org/data/" in front of them. These are the unmodified data files that were uploaded by the update-playershops script. If you'd rather have a single xml pulled from the database after being processed and whatnot, I might consider doing that, but it would be a lot more work and I don't know when I'd get around to it.
Haldrik
08-07-2016, 06:58 PM
Dude. You are a beast. Thank you.
Haldrik
08-07-2016, 06:59 PM
Also, multiple XML files are just fine
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.