LoginSignup
4

More than 5 years have passed since last update.

VineApi(非公式)のgem

Last updated at Posted at 2014-01-01

新年明けましても面白いことないからgemを作ってみました!

vineのAPIについて

vine APIは公式ではないみたいです。下記参照.
https://gist.github.com/mitukiii/5480316 (これをほとんどパクってます。すいません…)
http://ottati.hatenablog.com/entry/2013/08/13/193642 (結構詳しく載ってる)
https://github.com/starlock/vino/wiki/API-Reference (リファレンス 全てを網羅してるわけではない)
http://arayu.jp/vine-api-php-01.html (記事がまとまってる)

使い方

require vine_api

@user = VineApi::User.new(email,password) # vineの自分のアカウント
@user.profile  # 自分のプロフィール
@user.tag(tag名’)
@user.notification(user_id)
@user.timeline(user_id)
@user.popular(user_id)
@user.logout

github

レポジトリはこちらです.
https://github.com/yuuki1224/vine_api

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4