Java based scraper for https://csgostash.com that can extract skin meta information about in-game items in Counter-Strike: Global Offensive. Built utilizing the RxJava library.
The project is designed for concurrent and functional use and therefore uses the RxJava library due to the nature of how https://csgocollection.com is consuming the data.
var conf = new ItemScraperConfig(Fixtures.CSGOSTASH_HOST);
Observable<Item> items = new RxJavaItemScraperExecutor(new DocumentItemScraper(), conf)
.execute();
You can avoid the overhead of the RxJava library by using the ItemScraperExecutorFacade API (WIP).
Note that the API is in the early phase, and breaking changes can occur until the first release. Currently, the priority is to obtain the data needed to continue development with https://csgocollection.com. Still, people can feel free to contribute or create issues.
The following properties are currently extracted from the website:
Field | Data Type | Implemented | Tested |
---|---|---|---|
name | String | ✅ | |
description | String | ✅ | |
flavorText | String | ✅ | |
exteriorMeta | ExteriorMeta | ✅ | |
condition | Condition | ✅ | |
modifier | Modifier | ✅ | |
collections | Set | ||
finishStyle | String | ✅ | |
finishCatalog | String | ✅ | |
floatRange | FloatRange | ||
floatRangeByCondition | Map | ||
priceRange | PriceRange | ||
priceByCondition | Map | ||
priceByConditionWithModifiers | Map | ||
inspectLinks | Set | ✅ | |
texturePatternLink | String | ✅ | |
previewVideoUrl | String | ✅ | |
phases | Set | ✅ |
The following item types are currently supported:
Item Type | Implemented | Tested |
---|---|---|
WEAPON | ✅ | |
GLOVE | ✅ | |
STICKER | ✅ | |
AGENT | ✅ | |
PIN | ✅ |
The MIT License.