Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/southclaws/go-cex
A Go library for accessing the CeX trade store products API
https://github.com/southclaws/go-cex
api cex client no-not-the-crypto-exchange restful
Last synced: 24 days ago
JSON representation
A Go library for accessing the CeX trade store products API
- Host: GitHub
- URL: https://github.com/southclaws/go-cex
- Owner: Southclaws
- License: unlicense
- Created: 2018-11-09T21:16:53.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-08T18:32:32.000Z (almost 2 years ago)
- Last Synced: 2024-06-19T06:56:52.442Z (7 months ago)
- Topics: api, cex, client, no-not-the-crypto-exchange, restful
- Language: Go
- Size: 18.6 KB
- Stars: 10
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CeX Go Client
[CeX](https://uk.webuy.com/) is a UK trade shop for movies, games and electronics.
The CeX website is built with [Vue.js](https://github.com/vuejs/vue) and [Nuxt](https://github.com/nuxt/nuxt.js). It
uses a RESTful API for sourcing products and their categories. It's actually a very pleasant API that's pretty well
designed and easy to use, props to the CeX folks behind it!This library implements some portion of that API, at least the interesting bits such as listing products. Using this
library, you can pragmatically list all the products available in the store (at the time of writing, this was 369,625!)The library has some extremely basic unit tests that simply make an API call and print the result. I didn't want to
bother writing a full test suite against a dataset that will change! Run the tests to see an example of the output. The
code is also documented so you should be up and running pretty quickly.## To CeX
If a CeX employee runs across this: This library is just the result of some mild curiosity, it's in no way intended to
be malicious despite being unofficial and reverse engineered. The data itself is actually quite interesting and being
able to access it pragmatically in this way could result in some interesting things!