Skip to content

This a mini console scraper application for iTunes App store games, developed using Ruby. You can choose a categorical or a sorted list to scrape its content

Notifications You must be signed in to change notification settings

rloterh/TinyTuneScraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiny Tune Scraper - iTunes Games Web Scraper (Microverse Ruby Capstone Project)

Microverse

Description

This a mini console scraper application for iTunes App store games, developed using Ruby. The scraping source is Apple iTunes App Store games website. Contents under the iTunes App Store games are categorized according to Most Popular, Alphabetical index and more games. In a similar way, running the Tiny Tune Scraper app you can choose a similary categorical or a sorted list to scrape its content. See a quick video of the project walkthrough here

Library Directory 📙

Contents
App Screenshots
Built With
Setup Instructions
Getting Started
Testing
Author
License

App Screenshots

Welcome screen screenshot

Welcome screen/ Instructions

Porpular scrape screenshot

Porpular scrape

Aphabetical scrape screenshot

Aphabetical scrape

Built With

  • Ruby 2.7
  • Nokogiri 1.10.10
  • HTTParty 0.18.1
  • Rubocop 0.88.0
  • Rspec 3.9.0

Setup Instructions

    • Copy the git link https://github.com/rloterh/TinyTuneScraper.git of this project
    • In your terminal run the command git clone https://github.com/rloterh/TinyTuneScraper.git
    • Navigate to the cloned project directory
    • Install dependencies using the command bundle install
    • You can optionally install the dependencies individually in your ruby environment using the commands below:
  • gem install nokogiri
  • gem install httparty
  • gem install rubocop
  • gem install rspec

Getting Started

    • Navigate the bin directory by running the command cd bin in the terminal (from the root directory)
    • To execute the app run the command ruby main.rb in the terminal
    • Follow the instruction displayed in the terminal below the welcome screen
    • Type pop, more or a letter between |a-z|
    • If the scrape output has has index pages option, use > or < keys on your keyboard to navigate to the next or previous indexed page
    • To exit index page(s), press 'e'

Testing

NB: Before running test ensure rubocop andrspec gems are installed

Validating Ruby Syntax & Coding Standard

    • Go to the terminal (directory pointing to the root of the project)
    • Run the command rubocop
    • Click on the check button to validate
    • All validations should pass, when no error message is displayed in the terminal

Running Test Cases

    • Go to the terminal (directory pointing to the root of the project)
    • Run the command rspec
    • To run test cases individually run the command rpsec relative_path_of_testfile
      (replace rerelative_path_of_testfile with the actual relative path to the test file you want to run)
    • All test cases passes, when no error message is shown in the terminal

Author

👨‍💻 Robert Loterh

GitHub
LINKEDIN
EMAIL
TWITTER

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

License

Cocoapods

About

This a mini console scraper application for iTunes App store games, developed using Ruby. You can choose a categorical or a sorted list to scrape its content

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages