Coder Social home page Coder Social logo

eshop-sales's Introduction

eshop-sales

Telegram bot that sends a message every time a Switch game goes on sale in the Nintendo Eshop.

Every time run.rb is ran, it does this:

  • Pull all games(only from Europe) from the Nintendo API.
  • Get all prices, for all countries and for all games from the Nintendo API.
  • Save the lowest price for each game.
  • If a game is on sale and is the lowest price, send a telegram message.

This project is badly coded hacky copy-pasted spaghetti code.

I didn't really care about code style or DRY when coding this because I just wanted to complete it as fast as possible. As such, this is not an example of my coding skills :P

Dependencies

Uses plain ruby without rails. Uses postgresql to save game data. A cronjob is supplied to fire the script every hour. The other gems are for http requests and currency conversion.

eshop-sales's People

Contributors

pizzapim avatar

Watchers

 avatar  avatar

Forkers

deadbird503

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.