m92o / mixi-ruby Goto Github PK
View Code? Open in Web Editor NEWmixi library for ruby
Home Page: http://d.hatena.ne.jp/m92o/
License: BSD 3-Clause "New" or "Revised" License
mixi library for ruby
Home Page: http://d.hatena.ne.jp/m92o/
License: BSD 3-Clause "New" or "Revised" License
# # Ruby用 mixiライブラリ # # Copyright (c) 2009 - 2010 Kunio Murasawa <[email protected]> # 名前 mixi.rb 作者 Kunio Murasawa <[email protected]> 対応機能 - 初期化 - initialize(user, pass, use_ssl) - ログイン - login - ボイス - 発言 - add_echo(message) - 返信 - reply_echo(message, member_id, post_time) - 削除 - delete_echo(post_time) - 返信削除 - delete_response(member_id, post_time, comment_member_id, comment_post_time) - マイミクボイス取得 - recent_echo - 指定ユーザボイス取得 - list_echo(member_id = nil) - member_idを省略した場合は自分のボイス - 公開範囲設定 - edit_account_echo(level) - 新着情報取得 - updates(member_id, type = nil) - member_idを省略した場合は自分の情報 - typeを省略した場合は全て - マイミク情報取得 - friends(member_id) - member_idを省略した場合は自分の情報 - 足跡情報取得 - tracks(member_id) - member_idを省略した場合は自分の情報 取得方法 $ git clone git://github.com/m92o/mixi-ruby.git mixi-ruby 使い方 # ライブラリ読み込み require 'mixi/mixi' # 初期化 mixi = Mixi.new(user, pass, true) # ログイン mixi.login # 発言 mixi.add_echo("メッセージ") # 返信 mixi.reply_echo("返信メッセージ", member_id, post_time) # 削除 mixi.delete_echo(post_time) # 返信削除 mixi,delete_response(member_id, post_time, comment_member_id, comment_post_time) # マイミクボイス取得 voices = mixi.recent_echo # 指定ユーザボイス取得 voices = list_echo # 公開範囲設定 mixi.edit_account_echo(Mixi::LEVEL_ALL) # 新着情報取得 updates = mixi.updates(member_id, Mixi::UPDATE_DIARY) # マイミク情報取得 friends = mixi.friends # 足跡情報取得 tracks = mixi.tracks ライセンス BSDライセンス 詳細は附属のLICENCEファイルを参照
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.