Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/utahta/maimailog
get the maimai play log
https://github.com/utahta/maimailog
Last synced: about 2 months ago
JSON representation
get the maimai play log
- Host: GitHub
- URL: https://github.com/utahta/maimailog
- Owner: utahta
- License: mit
- Created: 2014-11-09T08:28:50.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-14T06:55:44.000Z (about 10 years ago)
- Last Synced: 2024-10-18T15:48:17.174Z (3 months ago)
- Language: Ruby
- Size: 168 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Maimailog
[![Gem Version](https://badge.fury.io/rb/maimailog.svg)](http://badge.fury.io/rb/maimailog)
[![Build Status](https://travis-ci.org/utahta/maimailog.svg?branch=master)](https://travis-ci.org/utahta/maimailog)Description
-----------
maimai のプレイ履歴を取得する## Installation
Add this line to your application's Gemfile:
gem 'maimailog'
And then execute:
$ bundle
Or install it yourself as:
$ gem install maimailog
## Usage
ステータスを取得する
c = Maimailog::Crawler::Status.new
c.fetch(userid, passwd)プレイ履歴を取得する
c = Maimailog::Crawler::History.new
c.login(userid, passwd)
page_num = 0
c.fetch(page_num) do |data|
p data
end
プレイ履歴を新しいものから順番に取得するc = Maimailog::Crawler::History.new
c.login(userid, passwd)
c.fetch_all do |data|
p data
end
## Contributing1. Fork it ( https://github.com/utahta/maimailog/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request