GithubHelp home page GithubHelp logo

southclaws / go-cex Goto Github PK

View Code? Open in Web Editor NEW
11.0 5.0 1.0 19 KB

A Go library for accessing the CeX trade store products API

License: The Unlicense

Go 100.00%
cex no-not-the-crypto-exchange restful api client

go-cex's Introduction

CeX Go Client

CeX is a UK trade shop for movies, games and electronics.

The CeX website is built with Vue.js and Nuxt. 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!

go-cex's People

Contributors

razermoon avatar richardoc avatar southclaws avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

richardoc

go-cex's Issues

License

Mind adding a license for this repo? Something like MIT or Apache2 would be fantastic so that anyone can use this

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.