Giter Site home page Giter Site logo

rokumatsumoto / turksatkablo_cli Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 195 KB

[ABANDONED] - A command-line interface for the Türksat Kablo Online İşlemler (Web scraping experiment)

License: MIT License

Ruby 99.54% Shell 0.46%
turksatkablo cli capybara phantomjs rspec kablonet

turksatkablo_cli's Introduction

Turksat Kablo CLI ◼️

Gem Version

THIS PROJECT IS DEPRECATED

Turksat Kablo CLI is not maintained anymore. See here #1 for more information.

A command-line interface for the Turksat Kablo Online Islemler - https://online.turksatkablo.com.tr/

Demo

asciicast

Setup

turksatkablo_cli is built with Ruby, so you'll need a working Ruby 2.2.0>= environment to use it. You can find Ruby installation instructions here.

  1. Install via rubygems
gem install turksatkablo_cli
  1. Install PhantomJS

https://github.com/teampoltergeist/poltergeist#installing-phantomjs

Verify the turksatkablo command is in your path by running it. You should see information about available commands.

$ turksatkablo
Commands:
turksatkablo anlikborc       # Anlık borç - kısa kodu b
turksatkablo fatura TARIH    # Fatura göster ÖRN: 12.2017, ÖRN: 12.2017 pdf - kısa kodu f
turksatkablo faturaliste     # Fatura listesi - kısa kodu fl
turksatkablo help [COMMAND]  # Describe available commands or one specific command
turksatkablo hizmet          # Mevcut hizmetler - kısa kodu h
turksatkablo kampanya        # Kampanya bilgileri - kısa kodu ka
turksatkablo kota            # Kalan kota - kısa kodu k
turksatkablo kotadetay       # Son 3 ay kota kullanım - kısa kodu kd
turksatkablo musterino       # Müşteri no - kısa kodu mn
turksatkablo ozet            # Hizmetler genel durum - kısa kodu o

Changelog

  • 0.3.1 – Add tests for TurksatkabloCli and Base classes.
  • 0.3.0 – Add Code coverage, Windows 10 support and fatura TARIH, faturaliste, kotadetay donem commands.
  • 0.2.0 – Add RSpec and environment tests, required ruby version updated (2.2.0 >=), nokogiri version updated (has a known critical severity security vulnerability in version range < 1.8.1)
  • 0.1.4 – Fix retry_authenticate and authenticated? methods (login details could not be saved after the retry_authenticate method)
  • 0.1.3 – Modernize multiple classes, add ozet, hizmetler, musterino, kampanya, anlikborc commands
  • 0.1.2 – Modernize Agent and Auth classes, ability to save user's encrypted login details, add kota command.
  • 0.1.1 – Build app skeleton, implement basic authentication
  • 0.1.0 - Initial version.

Development

bundle exec rspec -fd spec

Contributing

turksatkablo_cli is open source, and contributions are very welcome!

turksatkablo_cli's People

Contributors

rokumatsumoto avatar

Watchers

 avatar

turksatkablo_cli's Issues

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.