
Security News
Researcher Exposes Zero-Day Clickjacking Vulnerabilities in Major Password Managers
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Market Bot is a web scraper (web robot, web spider) for the Google Play Android app store. It can collect data on apps, charts, and developers.
Add this line to your application's Gemfile to use the latest stable version:
gem 'market_bot'
And then execute:
$ bundle
# Download/parse the app.
app = MarketBot::Play::App.new('com.facebook.katana')
app.update
# Print out the app title.
puts app.title
# Print all the other attributes you can find on an app object.
puts MarketBot::Play::App::ATTRIBUTES.inspect
Charts are defined by a collection and an option category.
# Download/parse the chart (collection=topselling_free, category=GAME).
chart = MarketBot::Play::Chart.new('topselling_free', 'GAME')
chart.update
# Print the first app.
puts chart.result.first.inspect
# Print all the chart collections & categories.
puts MarketBot::Play::Chart::COLLECTIONS.inspect
puts MarketBot::Play::Chart::CATEGORIES.inspect
# Download/parse developer.
dev = MarketBot::Play::Developer.new('Zynga')
dev.update
# Print the first app.
puts dev.result.first.inspect
Market Bot defaults to USA and English. You can specify a country and a language to override the defaults when creating objects:
chart = MarketBot::Play::Chart.new('topselling_paid', 'BUSINESS', country: 'jp', lang: 'ja')
chart.update
app = MarketBot::Play::App.new('com.facebook.katana', country: 'jp', lang: 'ja')
app.update
Google will block your IP address if you attempt to scrape large quantities of data.
Copyright (c) 2011 - 2018 Chad Remesch. See LICENSE.txt for further details.
FAQs
Unknown package
We found that market_bot demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.