bilibili 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bilibili.rb +3 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7cc37d649e5e4b0ab7cb1cf1acd3e08e4eb8a019
|
4
|
+
data.tar.gz: 510d5263975d299cc2e5b4e6053bd2a5e4c7c227
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1ab71166f504ae9e71cb042951a4aec3a571778a18651395063302f3ed266b7125df4fabe7e736eabb1b8edbaf9dd13598005a59184ae66f655bb6aab3d71ff
|
7
|
+
data.tar.gz: ad2d724b983de3e45cdf49524b0da23ff557bf3f8e548e84774a7dda672fa4e4ef3c6a7da5196b11d5d0abb068536e3d5b357ea84c7ecc7ce686d98f07cdd633
|
data/lib/bilibili.rb
CHANGED
@@ -75,7 +75,7 @@ class Member
|
|
75
75
|
end
|
76
76
|
|
77
77
|
# 我的收藏
|
78
|
-
def
|
78
|
+
def collectionList
|
79
79
|
response = Net::HTTP.new(K_BILIBILI_API_URL).get(K_BILIBILI_API_BOX_LIST + @mid)
|
80
80
|
JSON.parse(response.body)
|
81
81
|
end
|
@@ -87,7 +87,7 @@ class Member
|
|
87
87
|
end
|
88
88
|
|
89
89
|
# 订阅标签
|
90
|
-
def
|
90
|
+
def subscribeTags
|
91
91
|
response = Net::HTTP.new(K_BILIBILI_API_URL).get(K_BILIBILI_API_SUBSCRIBE_TAGS_QUERY + @mid)
|
92
92
|
JSON.parse(response.body)
|
93
93
|
end
|
@@ -113,7 +113,7 @@ end
|
|
113
113
|
|
114
114
|
class Bilibili
|
115
115
|
def Bilibili.hi
|
116
|
-
puts '
|
116
|
+
puts '哔哩哔哩(‾▽‾)~■□~(‾▽‾)Ruby'
|
117
117
|
end
|
118
118
|
|
119
119
|
# 通过uid获取用户
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bilibili
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BlueCocoa
|
@@ -10,7 +10,7 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2016-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: Collections of Bilibili API
|
13
|
+
description: Collections of Bilibili API. 哔哩哔哩(‾▽‾)~■□~(‾▽‾)Ruby
|
14
14
|
email: 0xbbc@0xbbc.com
|
15
15
|
executables: []
|
16
16
|
extensions: []
|
@@ -27,12 +27,12 @@ require_paths:
|
|
27
27
|
- lib
|
28
28
|
required_ruby_version: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
|
-
- -
|
30
|
+
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '0'
|
33
33
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
34
34
|
requirements:
|
35
|
-
- -
|
35
|
+
- - ">="
|
36
36
|
- !ruby/object:Gem::Version
|
37
37
|
version: '0'
|
38
38
|
requirements: []
|