January 21, 201412 yr One of the things I've struggled with while creating tools for unRAID is the lack of a consumable package API. After outgrowing two half-assed iterations, I decided to write a real lib to parse the official package lists (it's called slapp, if you're interested). I'm very happy to announce this new API. The next refactor of trolley will use it officially. Page caching is used throughout the app, so requests should be fairly quick. I was seeing ~500ms on the slow ones. There's a lot of data here: over 4600 package versions across 4 Slackware versions. Feel free to use it in your own projects; I look forward to seeing what you might create. Okay, here it is: http://slackware-packages.herokuapp.com/ Endpoints /slackwares List of all Slackware versions. Includes versions 13.1-current /slackwares/:id List of packages for a Slackware version (`:id`) /packages List of all packages for all Slackware versions /packages/:id Package details for `:id`. Also supports slugged name. Code and full docs available on Github: https://github.com/nicinabox/slackware-packages TIP: If using Chrome, check out the JSON Formatter extension: https://chrome.google.com/webstore/detail/json-formatter/bcjindcccaagfpapjjmafapmmgkkhgoa?hl=en
Archived
This topic is now archived and is closed to further replies.